Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
44fce0a4
Commit
44fce0a4
authored
Nov 17, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: ha_innobase::change_active_index(): When the history is
missing, report it to the client, not to the error log.
parent
74d36486
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
handler/ha_innodb.cc
handler/ha_innodb.cc
+4
-2
No files found.
handler/ha_innodb.cc
View file @
44fce0a4
...
...
@@ -5241,7 +5241,9 @@ ha_innobase::change_active_index(
prebuilt
->
index
);
if
(
UNIV_UNLIKELY
(
!
prebuilt
->
index_usable
))
{
sql_print_warning
(
"InnoDB: insufficient history for index %u"
,
push_warning_printf
(
user_thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
HA_ERR_TABLE_DEF_CHANGED
,
"InnoDB: insufficient history for index %u"
,
keynr
);
/* The caller seems to ignore this. Thus, we must check
this again in row_search_for_mysql(). */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment