OLD | NEW |
1 /* | 1 /* |
2 ** 2006 June 10 | 2 ** 2006 June 10 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 apVtabLock = sqlite3_realloc(pToplevel->apVtabLock, n); | 931 apVtabLock = sqlite3_realloc(pToplevel->apVtabLock, n); |
932 if( apVtabLock ){ | 932 if( apVtabLock ){ |
933 pToplevel->apVtabLock = apVtabLock; | 933 pToplevel->apVtabLock = apVtabLock; |
934 pToplevel->apVtabLock[pToplevel->nVtabLock++] = pTab; | 934 pToplevel->apVtabLock[pToplevel->nVtabLock++] = pTab; |
935 }else{ | 935 }else{ |
936 pToplevel->db->mallocFailed = 1; | 936 pToplevel->db->mallocFailed = 1; |
937 } | 937 } |
938 } | 938 } |
939 | 939 |
940 #endif /* SQLITE_OMIT_VIRTUALTABLE */ | 940 #endif /* SQLITE_OMIT_VIRTUALTABLE */ |
OLD | NEW |