Browse code

- some defines for table_version function

Jan Janak authored on 28/11/2003 23:49:41
Showing 1 changed files
... ...
@@ -181,7 +181,15 @@
181 181
 #define PATH_MAX_GUESS	1024
182 182
 
183 183
 #define DEFAULT_DB_URL "mysql://ser:heslo@localhost/ser"
184
+#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
185
+
184 186
 #define DEFAULT_RODB_URL "mysql://serro:47serro11@localhost/ser"
187
+#define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
188
+
189
+/* table holdin versions of other ser tables */
190
+#define VERSION_TABLE "version"
191
+#define VERSION_COLUMN "version"
192
+#define TABLENAME_COLUMN "table_name"
185 193
 
186 194
 
187 195
 #endif