~maria-captains/mariadb-native-client/trunk

« back to all changes in this revision

Viewing changes to unittest/libmariadb/connection.c

  • Committer: holzboote at googlemail
  • Date: 2014-01-11 19:09:32 UTC
  • Revision ID: holzboote@googlemail.com-20140111190932-o4oe0sccjstevmbq
Added mingw support (Win32). Special thanks to Eric Trinh for his patch!

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
 
523
523
  diag("Thread_id before kill: %lu", mysql_thread_id(mysql1));
524
524
  mysql_kill(mysql, mysql_thread_id(mysql1));
525
 
  sleep(2);
 
525
  sleep(4);
526
526
 
527
527
  rc= mysql_query(mysql1, "SELECT 1 FROM DUAL LIMIT 0");
528
 
  FAIL_IF(rc == 0, "error expected"); 
529
 
  rc= mysql_query(mysql1, "SELECT 1 FROM DUAL LIMIT 0");
530
528
  check_mysql_rc(rc, mysql1);
531
529
  diag("Thread_id after kill: %lu", mysql_thread_id(mysql1));
532
530