summaryrefslogtreecommitdiff
path: root/sql/sql_client.cc
diff options
context:
space:
mode:
authorMartin Hansson <martin.hansson@oracle.com>2011-01-12 09:55:31 +0100
committerMartin Hansson <martin.hansson@oracle.com>2011-01-12 09:55:31 +0100
commit3c5662c1951f59295a41b05274ed0be793b01843 (patch)
tree06930793ac389b84570ac6701c4ee37b3c58c77d /sql/sql_client.cc
parent0fd846bad057cc205a5b5742c0d8c61c7c73c7f6 (diff)
downloadmariadb-git-3c5662c1951f59295a41b05274ed0be793b01843.tar.gz
Bug#58207: invalid memory reads when using default column value and
tmptable needed The function DEFAULT() works by modifying the the data buffer pointers (often referred to as 'record' or 'table record') of its argument. This modification is done during name resolution (fix_fields().) Unfortunately, the same modification is done when creating a temporary table, because default values need to propagate to the new table. Fixed by skipping the pointer modification for fields that are arguments to the DEFAULT function.
Diffstat (limited to 'sql/sql_client.cc')
0 files changed, 0 insertions, 0 deletions