1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-25 17:25:02 +03:00
Files
mariadb/mysql-test/r
unknown e14c9c5d9c Fixed bug #16510: Updating field named like '*name' caused server crash.
When setup_fields() function finds field named '*' it expands it to the list
of all table fields. It does so by checking that the first char of
field_name is '*', but it doesn't checks that the '* is the only char.
Due to this, when updating table with a field named like '*name', such field
is wrongly treated as '*' and expanded. This leads to making list of fields
to update being longer than list of the new values. Later, the fill_record() 
function crashes by dereferencing null when there is left fields to update,
but no more values.

Added check in the setup_fields() function which ensures that the field
expanding will be done only when '*' is the only char in the field name.


mysql-test/t/update.test:
  Added test case for bug#16510: Updating field named like '*name' caused server crash
mysql-test/r/update.result:
  Added test case for bug#16510: Updating field named like '*name' caused server crash
sql/sql_base.cc:
  Fixed bug #16510: Updating field named like '*name' caused server crash.
  Added check in the setup_fields() function which ensures that the field
  expanding will be done only when '*' is the only char in the field name.
2006-01-23 21:51:32 +03:00
..
2004-04-28 16:14:53 +01:00
2005-06-03 17:13:43 +02:00
2004-03-27 00:35:45 +04:00
2004-06-25 12:59:47 +02:00
2005-02-15 18:45:42 -08:00
2005-02-11 13:44:54 -08:00
2003-11-20 22:20:54 +01:00
2005-08-29 22:35:48 -05:00
2005-08-02 11:33:26 +05:00
2004-12-11 19:59:09 +03:00
2003-12-14 21:31:02 +01:00
2005-05-07 21:37:27 +05:00
2004-09-02 22:06:30 -07:00
2004-08-28 00:49:54 +03:00
2004-09-02 22:06:30 -07:00
2004-08-20 23:48:30 -07:00
2005-05-09 08:33:45 +01:00
2003-10-29 14:23:35 +01:00
2004-07-17 16:58:16 +02:00
2003-12-16 11:10:50 +01:00
2003-11-18 17:31:17 +01:00
2005-01-30 10:24:03 +00:00
2004-04-28 16:14:53 +01:00
2004-02-22 11:22:51 +01:00
2004-03-01 00:46:31 +01:00
2004-01-12 16:25:13 +02:00