summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.cc
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-11-26 00:26:35 +0200
committerunknown <heikki@hundin.mysql.fi>2004-11-26 00:26:35 +0200
commit5557ae747efdb8a1a8fe8841397231ee8265dfac (patch)
treeef1268a665b0205a9e6ce79355f755408f8952bc /sql/ha_innodb.cc
parenta560f0fa3888902e14378d3f8ee4416d2e1eab3b (diff)
downloadmariadb-git-5557ae747efdb8a1a8fe8841397231ee8265dfac.tar.gz
ha_innodb.cc:
Add conversion of the InnoDB error DB_LOCK_TABLE_FULL to the corresponding MySQL error sql/ha_innodb.cc: Add conversion of the InnoDB error DB_LOCK_TABLE_FULL to the corresponding MySQL error
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r--sql/ha_innodb.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 07d8da63733..2515b4956d0 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -331,6 +331,9 @@ convert_error_code_to_mysql(
} else if (error == (int) DB_NO_SAVEPOINT) {
return(HA_ERR_NO_SAVEPOINT);
+ } else if (error == (int) DB_LOCK_TABLE_FULL) {
+
+ return(HA_ERR_LOCK_TABLE_FULL);
} else {
return(-1); // Unknown error
}