Commit ea075fbb authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

BUG#1644: Insertion of more than 3 NULL columns with parameter binding fails

Fixed. Enabled test case in client_test.c.
parent 1814e163
......@@ -72,7 +72,7 @@ Long data handling:
#include "sql_select.h" // for JOIN
#include <m_ctype.h> // for isspace()
#define IS_PARAM_NULL(pos, param_no) pos[param_no/8] & (1 << param_no & 7)
#define IS_PARAM_NULL(pos, param_no) (pos[param_no/8] & (1 << (param_no & 7)))
#define STMT_QUERY_LOG_LENGTH 8192
......
......@@ -8145,9 +8145,8 @@ int main(int argc, char **argv)
test_ts(); /* test for timestamp BR#819 */
test_bug1115(); /* BUG#1115 */
test_bug1180(); /* BUG#1180 */
#if NOT_YET_FIXED
test_bug1644(); /* BUG#1644 */
#endif
end_time= time((time_t *)0);
total_time+= difftime(end_time, start_time);
......
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