Marc Alff
033c6c394d
Bug#53696 Performance schema engine violates the PSEA API by calling my_error()
...
This is a code cleanup.
The implementation of a storage engine (subclasses of handler) is not supposed
to call my_error() directly inside the engine implementation,
but only return error codes, and report errors later at the demand
of the sql layer only (if needed), using handler::print_error().
This fix removes misplaced calls to my_error(),
and provide an implementation of print_error() instead.
Given that the sql layer implementation of create table, ha_create_table(),
does not use print_error() but returns ER_CANT_CREATE_TABLE directly,
the return code for create table statements using the performance schema
has changed to ER_CANT_CREATE_TABLE.
Adjusted the test suite accordingly.
2010-12-01 13:06:41 +01:00
..
2010-11-03 16:42:33 +01:00
2010-07-20 21:15:29 +02:00
2010-07-20 21:15:29 +02:00
2010-08-25 18:59:28 -06:00
2010-08-25 18:59:28 -06:00
2010-08-25 18:59:28 -06:00
2010-01-11 18:47:27 -07:00
2010-01-11 18:47:27 -07:00
2010-04-28 14:47:49 +02:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-12 12:23:17 +01:00
2010-11-12 12:23:17 +01:00
2010-11-12 12:23:17 +01:00
2010-11-03 16:42:33 +01:00
2010-12-01 13:06:41 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-06-22 12:13:47 +02:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-07-20 21:15:29 +02:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00
2010-07-20 21:15:29 +02:00
2010-11-03 16:42:33 +01:00
2010-11-12 12:23:17 +01:00
2010-08-25 18:59:28 -06:00
2010-08-25 18:59:28 -06:00
2010-08-25 18:59:28 -06:00
2010-08-25 18:59:28 -06:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-01-11 18:47:27 -07:00
2010-01-11 18:47:27 -07:00
2010-01-11 18:47:27 -07:00
2010-01-11 18:47:27 -07:00
2010-01-11 18:47:27 -07:00
2010-11-03 16:42:33 +01:00
2010-11-03 16:42:33 +01:00