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
fcfe811c
Commit
fcfe811c
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
dcfdef5e
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 @
fcfe811c
...
@@ -5241,7 +5241,9 @@ ha_innobase::change_active_index(
...
@@ -5241,7 +5241,9 @@ ha_innobase::change_active_index(
prebuilt
->
index
);
prebuilt
->
index
);
if
(
UNIV_UNLIKELY
(
!
prebuilt
->
index_usable
))
{
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
);
keynr
);
/* The caller seems to ignore this. Thus, we must check
/* The caller seems to ignore this. Thus, we must check
this again in row_search_for_mysql(). */
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