Commit 125f8401 authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1

into mc05.(none):/space2/tomas/4.1

parents 9e5a10e2 964618ed
...@@ -1672,19 +1672,19 @@ static int stmt_read_row_no_data(MYSQL_STMT *stmt, unsigned char **row); ...@@ -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) */ /* 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 (length) + 1 (is negative) + 4 (day count) + 1 (hour)
+ 1 (minute) + 1 (seconds) + 4 (microseconds) + 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 (length) + 2 (year) + 1 (month) + 1 (day) +
1 (hour) + 1 (minute) + 1 (second) + 4 (microseconds) 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 ****************************/ /**************** Misc utility functions ****************************/
......
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