| 11953 | } |
| 11954 | |
| 11955 | void clearClientSideRow(struct sqlclntstate *clnt) |
| 11956 | { |
| 11957 | if (!clnt) { |
| 11958 | struct sql_thread *thd = pthread_getspecific(query_info_key); |
| 11959 | if (!thd) { |
| 11960 | logmsg(LOGMSG_FATAL, "%s: running in non sql thread!n", __func__); |
| 11961 | abort(); |
| 11962 | } |
| 11963 | clnt = thd->clnt; |
| 11964 | } |
| 11965 | clnt->keyDdl = 0ULL; |
| 11966 | clnt->nDataDdl = 0; |
| 11967 | if (clnt->dataDdl) { |
| 11968 | free(clnt->dataDdl); |
| 11969 | clnt->dataDdl = NULL; |
| 11970 | } |
| 11971 | } |
| 11972 | |
| 11973 | static int queryOverlapsCursors(struct sqlclntstate *clnt, BtCursor *pCur) |
| 11974 | { |
no test coverage detected