1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-12 12:25:37 +03:00

Bug#20573

"strict mode: inserts autogenerated auto_increment value bigger than max"
  Strict mode should fail if autoincrement value is out of range
This commit is contained in:
acurtis/antony@xiphis.org/ltantony.xiphis.org
2006-08-30 13:20:39 -07:00
parent 6509ad6e8a
commit 678e15174e
21 changed files with 256 additions and 13 deletions

View File

@@ -565,7 +565,7 @@ public:
virtual ~handler(void) { /* TODO: DBUG_ASSERT(inited == NONE); */ }
int ha_open(const char *name, int mode, int test_if_locked);
void adjust_next_insert_id_after_explicit_value(ulonglong nr);
bool update_auto_increment();
int update_auto_increment();
virtual void print_error(int error, myf errflag);
virtual bool get_error_message(int error, String *buf);
uint get_dup_key(int error);