mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#17066269
- Automerged from bug branch into latest mysql-5.5. - Fixed trailing whitespaces. - Updated the copyright notice year to 2014.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
/* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -3735,6 +3735,20 @@ protected:
|
||||
return ::unpack_row(rli, m_table, m_width, m_curr_row, &m_cols,
|
||||
&m_curr_row_end, &m_master_reclength, m_rows_end);
|
||||
}
|
||||
|
||||
/**
|
||||
Helper function to check whether there is an auto increment
|
||||
column on the table where the event is to be applied.
|
||||
|
||||
@return true if there is an autoincrement field on the extra
|
||||
columns, false otherwise.
|
||||
*/
|
||||
inline bool is_auto_inc_in_extra_columns()
|
||||
{
|
||||
DBUG_ASSERT(m_table);
|
||||
return (m_table->next_number_field &&
|
||||
m_table->next_number_field->field_index >= m_width);
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user