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

« back to all changes in this revision

Viewing changes to unittest/libmysql/errors.c

  • Committer: Georg Richter
  • Date: 2012-11-26 10:23:56 UTC
  • Revision ID: georg@linux-eozo-20121126102356-llqrnqevaypb2nc6
- Added documentation (docbook based)
- To build the documentation use cmake . -DBUILD_DOCS=yes
- minor fixes in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
  int        rc;
136
136
  MYSQL_RES  *result;
137
137
 
138
 
  mysql_query(mysql, "DROP TABLE if exists test_non_exists");
 
138
  rc= mysql_query(mysql, "DROP TABLE if exists test_non_exists");
139
139
  check_mysql_rc(rc, mysql); 
140
140
 
141
141
  rc= mysql_query(mysql, "DROP TABLE test_non_exists");
 
142
  check_mysql_rc(rc, mysql); 
142
143
 
143
 
  mysql_query(mysql, "SHOW ERRORS");
 
144
  rc= mysql_query(mysql, "SHOW ERRORS");
144
145
  check_mysql_rc(rc, mysql); 
145
146
 
146
147
  result= mysql_store_result(mysql);