Commit 7226dc51 authored by unknown's avatar unknown

Syntax correction for bug#5560.


tests/client_test.c:
  Pointer arithmetic on array names is not allowed in all compilers,
  rather use array elements and the address operator (bug#5560).
parent f21c7b17
......@@ -10123,9 +10123,9 @@ static void test_bug4231()
bzero(tm, sizeof(tm));
bind[0].buffer_type= MYSQL_TYPE_TIME;
bind[0].buffer= (void*) tm;
bind[0].buffer= &tm[0];
bind[1].buffer_type= MYSQL_TYPE_TIME;
bind[1].buffer= (void*) tm+1;
bind[1].buffer= &tm[1];
mysql_stmt_bind_param(stmt, bind);
check_execute(stmt, rc);
......
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