mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-26832: ROW_NUMBER in SIGNAL/RESIGNAL causes a syntax error
Analysis: Parser was missing ROW_NUMBER as syntax for SIGNAL and RESIGNAL. Fix: Fix parser and fix how m_row_number is copied like other attributes to avoid ROW_NUMBER from assuming default value.
This commit is contained in:
committed by
Sergei Golubchik
parent
b15a5f6fff
commit
ff5de38d6c
@ -204,6 +204,7 @@ Sql_condition::copy_opt_attributes(const Sql_condition *cond)
|
||||
copy_string(m_mem_root, & m_table_name, & cond->m_table_name);
|
||||
copy_string(m_mem_root, & m_column_name, & cond->m_column_name);
|
||||
copy_string(m_mem_root, & m_cursor_name, & cond->m_cursor_name);
|
||||
m_row_number= cond->m_row_number;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user