Commit 24e10360 authored by unknown's avatar unknown

DBU_TRUE and DBU_FALSE => TRUE/FALSE

parent 29baec8a
...@@ -49,8 +49,6 @@ if (r) \ ...@@ -49,8 +49,6 @@ if (r) \
DIE_UNLESS(r == 0);\ DIE_UNLESS(r == 0);\
} }
#define DBU_TRUE 1
#define DBU_FALSE 0
#define DBU_FAILED 1 #define DBU_FAILED 1
#define DBU_OK 0 #define DBU_OK 0
......
...@@ -86,13 +86,13 @@ DbUtil::databaseLogin(const char* system, const char* usr, ...@@ -86,13 +86,13 @@ DbUtil::databaseLogin(const char* system, const char* usr,
exit(DBU_FAILED); exit(DBU_FAILED);
} }
mysql->reconnect = DBU_TRUE; mysql->reconnect = TRUE;
/* set AUTOCOMMIT */ /* set AUTOCOMMIT */
if(!transactional) if(!transactional)
mysql_autocommit(mysql, DBU_TRUE); mysql_autocommit(mysql, TRUE);
else else
mysql_autocommit(mysql, DBU_FALSE); mysql_autocommit(mysql, FALSE);
#ifdef DEBUG #ifdef DEBUG
printf("\n\tConnected to MySQL server version: %s (%lu)\n\n", printf("\n\tConnected to MySQL server version: %s (%lu)\n\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment