mariadb/sql/share
unknown d4399619bd WL #1729 Handler: error text for NDB errors
- New solution after discussions with Sergei, no handler specific code or error messages should be in sql layer.
next_result, only check for error if check is -1
Improved index_read 


include/mysqld_error.h:
  New error codes ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG, update number to 298.
  Removed prevoius ER_NDB_ERROR, handler specific error should not be here.
sql/ha_ndbcluster.cc:
  Removed print_error from ha_ndbcluster, added code to handler::print_error to ask  handler::get_error_message for message for an error.
  Fix bug in next_result, only check for error if -1 is returned.
  Make index_read easier, special case where pk_read or unique_index_read is detected and as default do ordered_index_scan
sql/ha_ndbcluster.h:
  Remplace print_error with get_error_message
sql/handler.cc:
  Add new function get_error_message usedc to ask handler for a message for an error.
  Call get_error_message from print_error if error code is not known.
sql/handler.h:
  Add new function get_error_message
sql/share/czech/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/danish/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/dutch/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/english/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/estonian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/french/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/german/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/greek/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/hungarian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/italian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/korean/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/norwegian-ny/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/norwegian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/polish/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/portuguese/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/romanian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/russian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/serbian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/slovak/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/spanish/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/swedish/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
sql/share/ukrainian/errmsg.txt:
  Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
2004-05-13 11:56:45 +02:00
..
charsets ctype-win1250ch.c, ctype-czech.c: 2004-05-07 10:24:12 +05:00
czech WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
danish WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
dutch WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
english WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
estonian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
french WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
german WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
greek WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
hungarian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
italian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
japanese WL# 1729 Handler: error text for NDB errors 2004-05-11 13:59:22 +02:00
korean WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
norwegian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
norwegian-ny WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
polish WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
portuguese WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
romanian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
russian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
serbian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
slovak WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
spanish WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
swedish WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
ukrainian WL #1729 Handler: error text for NDB errors 2004-05-13 11:56:45 +02:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am Charset number is now stored into error.sys by comp_err and loaded by mysqld. 2003-09-17 16:22:58 +05:00