Commit 7226dc51 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);