mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fixed bug from last commit
Docs/manual.texi: Changelog
This commit is contained in:
@@ -44001,6 +44001,9 @@ Allow @code{SELECT expression LIMIT ...}.
|
||||
Added @code{IDENTITY} as a synonym for @code{AUTO_INCREMENT} (like Sybase).
|
||||
@item
|
||||
Added @code{ORDER BY} syntax to @code{UPDATE} and @code{DELETE}.
|
||||
@item
|
||||
Optimized queries of type:
|
||||
@code{SELECT DISTINCT * from table_name ORDER by key_part1 LIMIT #}
|
||||
@end itemize
|
||||
|
||||
@node News-3.23.x, News-3.22.x, News-4.0.x, News
|
||||
|
||||
@@ -1438,7 +1438,7 @@ update_ref_and_keys(THD *thd, DYNAMIC_ARRAY *keyuse,JOIN_TAB *join_tab,
|
||||
KEY_FIELD *key_fields,*end;
|
||||
|
||||
if (!(key_fields=(KEY_FIELD*)
|
||||
thd->alloc((sizeof(key_fields[0])*thd->cond_count+1)*2)))
|
||||
thd->alloc(sizeof(key_fields[0])*(thd->cond_count+1)*2)))
|
||||
return TRUE; /* purecov: inspected */
|
||||
and_level=0; end=key_fields;
|
||||
if (cond)
|
||||
|
||||
Reference in New Issue
Block a user