[CONC-188] main.dyncol fails with : mysql_fetch didn't end with MYSQL_NO_DATA Created: 2016-06-02  Updated: 2016-06-03  Resolved: 2016-06-03

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.1

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-9293 change clients to use Connector/C Closed

 Description   

This is in the bb-10.2-connector-c-integ, on Windows

perl mysql-test-run.pl --suite=main --ps-protocol main.dyncol
...
main.dyncol [ fail ]
Test ended at 2016-06-02 15:56:15

CURRENT_TEST: main.dyncol
mysqltest: At line 343: mysql_fetch didn't end with MYSQL_NO_DATA from statement: error: 101

The result from queries just before the failure was:
< snip >
10:11:12.121314
select column_get(column_create(1, "2001-02-03 10:11:12.121314"), 1 as time);
column_get(column_create(1, "2001-02-03 10:11:12.121314"), 1 as time)
10:11:12
select column_get(column_create(1, "2011-04-05 8:46:06.23434" AS datetime), 1 as time(6));
column_get(column_create(1, "2011-04-05 8:46:06.23434" AS datetime), 1 as time(6))
08:46:06.234340
select column_get(column_create(1, "2011-00-00 8:46:06.23434" AS CHAR), 1 as time(6));
column_get(column_create(1, "2011-00-00 8:46:06.23434" AS CHAR), 1 as time(6))
08:46:06.234340
select column_get(column_create(1, "2011-00-01 8:46:06.23434" AS CHAR), 1 as time(6));
column_get(column_create(1, "2011-00-01 8:46:06.23434" AS CHAR), 1 as time(6))
08:46:06.234340
select column_get(column_create(1, "830:46:06.23434" AS CHAR), 1 as time(6));
column_get(column_create(1, "830:46:06.23434" AS CHAR), 1 as time(6))
830:46:06.234340
select column_get(column_create(1, "830:46:06" AS CHAR), 1 as time(6));
column_get(column_create(1, "830:46:06" AS CHAR), 1 as time(6))
830:46:06.000000
select cast("-830:46:06.23434" AS time(6));



 Comments   
Comment by Vladislav Vaintroub [ 2016-06-02 ]

Have this as well for another test. Might be time function related

CURRENT_TEST: main.func_time_hires
mysqltest: At line 37: mysql_fetch didn't end with MYSQL_NO_DATA from statement: error: 101

Comment by Georg Richter [ 2016-06-03 ]

Fixed in rev. ff5b86aee5e222c685deb21889420bcf3eab8f9d

Generated at Thu Feb 08 03:03:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.