Alexander Nozdrin
7752ccec48
Patch for Bug#21818 (Return value of ROW_COUNT() is incorrect
...
for ALTER TABLE, LOAD DATA).
ROW_COUNT is now assigned according to the following rules:
- In my_ok():
- for DML statements: to the number of affected rows;
- for DDL statements: to 0.
- In my_eof(): to -1 to indicate that there was a result set.
We derive this semantics from the JDBC specification, where int
java.sql.Statement.getUpdateCount() is defined to (sic) "return the
current result as an update count; if the result is a ResultSet
object or there are no more results, -1 is returned".
- In my_error(): to -1 to be compatible with the MySQL C API and
MySQL ODBC driver.
- For SIGNAL statements: to 0 per WL#2110 specification. Zero is used
since that's the "default" value of ROW_COUNT in the diagnostics area.
2010-05-14 09:28:51 +04:00
..
2009-06-19 17:04:25 +02:00
2009-09-23 22:50:13 +04:00
2008-03-07 17:33:07 +01:00
2008-03-07 17:33:07 +01:00
2007-02-06 19:07:48 +01:00
2008-03-07 17:33:07 +01:00
2008-03-07 17:33:07 +01:00
2008-03-07 17:33:07 +01:00
2008-03-07 17:33:07 +01:00
2008-03-07 17:33:07 +01:00
2008-03-07 17:33:07 +01:00
2008-06-02 21:57:11 +02:00
2008-06-18 19:23:55 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-16 20:39:58 +02:00
2008-03-07 17:33:07 +01:00
2009-10-23 11:56:30 +05:00
2008-06-18 19:23:55 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-18 19:23:55 +02:00
2009-03-26 19:12:19 +01:00
2008-06-18 19:23:55 +02:00
2009-06-09 13:09:16 -03:00
2009-06-09 13:09:16 -03:00
2008-06-16 20:39:58 +02:00
2009-08-07 22:04:53 +02:00
2009-08-07 22:04:53 +02:00
2008-06-16 20:39:58 +02:00
2008-07-01 14:44:47 -04:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2009-10-23 16:02:20 +05:00
2008-03-07 20:18:14 +01:00
2008-03-07 20:18:14 +01:00
2008-03-07 20:18:14 +01:00
2009-01-31 17:22:59 -02:00
2008-03-07 20:18:14 +01:00
2008-03-07 20:18:14 +01:00
2008-03-07 20:18:14 +01:00
2008-03-07 20:18:14 +01:00
2008-03-07 20:18:14 +01:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-16 20:39:58 +02:00
2008-06-18 19:23:55 +02:00
2008-06-16 20:39:58 +02:00
2009-06-09 13:09:16 -03:00
2009-06-09 13:09:16 -03:00
2008-06-18 19:23:55 +02:00
2009-06-09 13:09:16 -03:00
2008-06-16 20:39:58 +02:00
2008-03-07 17:33:07 +01:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2009-06-09 13:09:16 -03:00
2008-03-07 17:33:07 +01:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2009-06-09 13:09:16 -03:00
2009-06-09 13:09:16 -03:00
2008-06-18 19:23:55 +02:00
2008-06-16 20:39:58 +02:00
2009-08-07 22:04:53 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-16 20:39:58 +02:00
2008-06-18 19:23:55 +02:00
2008-06-16 20:39:58 +02:00
2009-10-26 11:35:20 +04:00
2008-06-18 19:23:55 +02:00
2008-06-16 20:39:58 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2009-06-09 11:36:14 -03:00
2008-03-12 12:56:07 +01:00
2008-03-12 12:56:07 +01:00
2007-02-06 13:35:54 +01:00
2007-02-06 13:35:54 +01:00
2007-02-06 13:35:54 +01:00
2007-02-06 13:35:54 +01:00
2007-02-06 13:35:54 +01:00
2007-02-06 13:35:54 +01:00
2007-02-06 13:35:54 +01:00
2008-06-02 21:57:11 +02:00
2008-06-18 19:23:55 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-06-02 21:57:11 +02:00
2008-04-01 13:18:31 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2008-06-18 19:23:55 +02:00
2010-05-14 09:28:51 +04:00
2010-05-14 09:28:51 +04:00
2009-07-07 10:19:38 -04:00
2008-04-01 13:18:31 +02:00