summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-06-15 12:29:22 +0400
committerkonstantin@mysql.com <>2004-06-15 12:29:22 +0400
commitb9f2b3420074b3d9639c82d735d699f9817565d0 (patch)
treef36af04c24c419c63923d78488691b1727faf00d /libmysql
parent7fd6503dfcf8310fe65dd92985042f0d1bd22760 (diff)
downloadmariadb-git-b9f2b3420074b3d9639c82d735d699f9817565d0.tar.gz
Fixed to compile with IBM C Compiler for AIX Version 6
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index eb8368977e9..a6181cd0269 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1672,19 +1672,19 @@ static int stmt_read_row_no_data(MYSQL_STMT *stmt, unsigned char **row);
*/
/* 1 (length) + 2 (year) + 1 (month) + 1 (day) */
-static const unsigned MAX_DATE_REP_LENGTH= 5;
+#define MAX_DATE_REP_LENGTH 5
/*
1 (length) + 1 (is negative) + 4 (day count) + 1 (hour)
+ 1 (minute) + 1 (seconds) + 4 (microseconds)
*/
-static const unsigned MAX_TIME_REP_LENGTH= 13;
+#define MAX_TIME_REP_LENGTH 13
/*
1 (length) + 2 (year) + 1 (month) + 1 (day) +
1 (hour) + 1 (minute) + 1 (second) + 4 (microseconds)
*/
-static const unsigned MAX_DATETIME_REP_LENGTH= 12;
+#define MAX_DATETIME_REP_LENGTH 12
/**************** Misc utility functions ****************************/