sqlite
[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.
Brought by drakestapleton
| 1 | |
| 2 | #include "sqlite3.h" |
| 3 | #include <stdio.h> |
| 4 | |
| 5 | int main(void) { |
| 6 | void *p = 0; |
| 7 | #ifdef SQLITE_OMIT_AUTOINIT |
| 8 | sqlite3_initialize(); |
| 9 | #endif |
| 10 | p = sqlite3_malloc(32); |
| 11 | if( !p ) return 1; |
| 12 | sqlite3_free(p); |
| 13 | return 0; |
| 14 | } |