Mercurial > hg > syntilista
diff src/main.h @ 113:907f2ddf6801
Use #defines for SQL table field lengths.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Jul 2017 09:52:10 +0300 |
parents | 2524434a7193 |
children | a5c8741b8662 |
line wrap: on
line diff
--- a/src/main.h Tue Jul 04 12:43:43 2017 +0300 +++ b/src/main.h Wed Jul 05 09:52:10 2017 +0300 @@ -25,6 +25,11 @@ #define APP_SQLITE_FILE "syntilista.sqlite3" // SQLite3 database file name (without path) +#define SQL_MAX_FIRST_NAME 128 +#define SQL_MAX_LAST_NAME 128 +#define SQL_MAX_EXTRA_INFO 2048 + + // // Custom SQL models //