| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2001 September 15 | 2 ** 2001 September 15 |
| 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 1886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 ** <dt>SQLITE_DBCONFIG_ENABLE_TRIGGER</dt> | 1897 ** <dt>SQLITE_DBCONFIG_ENABLE_TRIGGER</dt> |
| 1898 ** <dd> ^This option is used to enable or disable [CREATE TRIGGER | triggers]. | 1898 ** <dd> ^This option is used to enable or disable [CREATE TRIGGER | triggers]. |
| 1899 ** There should be two additional arguments. | 1899 ** There should be two additional arguments. |
| 1900 ** The first argument is an integer which is 0 to disable triggers, | 1900 ** The first argument is an integer which is 0 to disable triggers, |
| 1901 ** positive to enable triggers or negative to leave the setting unchanged. | 1901 ** positive to enable triggers or negative to leave the setting unchanged. |
| 1902 ** The second parameter is a pointer to an integer into which | 1902 ** The second parameter is a pointer to an integer into which |
| 1903 ** is written 0 or 1 to indicate whether triggers are disabled or enabled | 1903 ** is written 0 or 1 to indicate whether triggers are disabled or enabled |
| 1904 ** following this call. The second parameter may be a NULL pointer, in | 1904 ** following this call. The second parameter may be a NULL pointer, in |
| 1905 ** which case the trigger setting is not reported back. </dd> | 1905 ** which case the trigger setting is not reported back. </dd> |
| 1906 ** | 1906 ** |
| 1907 ** <dt>SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE</dt> |
| 1908 ** <dd> Usually, when a database in wal mode is closed or detached from a |
| 1909 ** database handle, SQLite checks if this will mean that there are now no |
| 1910 ** connections at all to the database. If so, it performs a checkpoint |
| 1911 ** operation before closing the connection. This option may be used to |
| 1912 ** override this behaviour. The first parameter passed to this operation |
| 1913 ** is an integer - non-zero to disable checkpoints-on-close, or zero (the |
| 1914 ** default) to enable them. The second parameter is a pointer to an integer |
| 1915 ** into which is written 0 or 1 to indicate whether checkpoints-on-close |
| 1916 ** have been disabled - 0 if they are not disabled, 1 if they are. |
| 1917 ** </dd> |
| 1918 ** |
| 1907 ** </dl> | 1919 ** </dl> |
| 1908 */ | 1920 */ |
| 1909 #define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */ | 1921 #define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */ |
| 1910 #define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */ | 1922 #define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */ |
| 1911 #define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */ | 1923 #define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */ |
| 1924 #define SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE 1006 /* int int* */ |
| 1912 | 1925 |
| 1913 | 1926 |
| 1914 /* | 1927 /* |
| 1915 ** CAPI3REF: Enable Or Disable Extended Result Codes | 1928 ** CAPI3REF: Enable Or Disable Extended Result Codes |
| 1916 ** METHOD: sqlite3 | 1929 ** METHOD: sqlite3 |
| 1917 ** | 1930 ** |
| 1918 ** ^The sqlite3_extended_result_codes() routine enables or disables the | 1931 ** ^The sqlite3_extended_result_codes() routine enables or disables the |
| 1919 ** [extended result codes] feature of SQLite. ^The extended result | 1932 ** [extended result codes] feature of SQLite. ^The extended result |
| 1920 ** codes are disabled by default for historical compatibility. | 1933 ** codes are disabled by default for historical compatibility. |
| 1921 */ | 1934 */ |
| (...skipping 6722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8644 ** END OF REGISTRATION API | 8657 ** END OF REGISTRATION API |
| 8645 *************************************************************************/ | 8658 *************************************************************************/ |
| 8646 | 8659 |
| 8647 #ifdef __cplusplus | 8660 #ifdef __cplusplus |
| 8648 } /* end of the 'extern "C"' block */ | 8661 } /* end of the 'extern "C"' block */ |
| 8649 #endif | 8662 #endif |
| 8650 | 8663 |
| 8651 #endif /* _FTS5_H */ | 8664 #endif /* _FTS5_H */ |
| 8652 | 8665 |
| 8653 | 8666 |
| OLD | NEW |