Explorar o código

- some defines for table_version function

Jan Janak %!s(int64=22) %!d(string=hai) anos
pai
achega
7ec3af47aa
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      config.h

+ 8 - 0
config.h

@@ -181,7 +181,15 @@
 #define PATH_MAX_GUESS	1024
 
 #define DEFAULT_DB_URL "mysql://ser:heslo@localhost/ser"
+#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
+
 #define DEFAULT_RODB_URL "mysql://serro:47serro11@localhost/ser"
+#define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
+
+/* table holdin versions of other ser tables */
+#define VERSION_TABLE "version"
+#define VERSION_COLUMN "version"
+#define TABLENAME_COLUMN "table_name"
 
 
 #endif