Skip to content
Snippets Groups Projects
Commit 287e65c5 authored by Denis Smirnov's avatar Denis Smirnov Committed by Kirill Yukhin
Browse files

sql: fix insertion crash


Previously SQL didn't validate for all cases, that the amount of the
source and destination columns during insertion is equal. The problem
was detected when we insert an incorrect amount of values into the
table. For example, the query

insert into t(a) select a, b from t

produced an instance crash. Fixed.

Closes #7132

NO_DOC=bug fix

Co-authored-by: default avatarMergen Imeev <imeevma@gmail.com>
(cherry picked from commit dfa0ea2b)
parent fb9505fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment