[MDEV-5728] BINLOG_GTID_POS(..) does not return proper error unless mysql_store_result is called Created: 2014-02-25 Updated: 2014-02-27 Resolved: 2014-02-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.8 |
| Fix Version/s: | 10.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | gtid | ||
| Issue Links: |
|
||||
| Description |
|
When I use BINLOG_GTID_POS(..) on a server where binary log is not enabled, I expect it to return ER_NO_BINARY_LOGGING. It does so lets say in MySQL client, but with some API variants it does not. C API:
Perl:
In both cases output is
Current tree:
|
| Comments |
| Comment by Kristian Nielsen [ 2014-02-27 ] |
|
Pushed to 10.0 The reason for this behaviour was that the error was thrown only during The problem could be reproduced also in the mysql command line client with The reason the examples did not get the error at runtime is that they did not |