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
7a845e43
Commit
7a845e43
authored
Sep 08, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Update links to the user manual
parent
9bafeecb
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
39 deletions
+53
-39
innobase/btr/btr0btr.c
innobase/btr/btr0btr.c
+2
-2
innobase/buf/buf0buf.c
innobase/buf/buf0buf.c
+3
-3
innobase/dict/dict0dict.c
innobase/dict/dict0dict.c
+6
-3
innobase/fsp/fsp0fsp.c
innobase/fsp/fsp0fsp.c
+3
-3
innobase/log/log0log.c
innobase/log/log0log.c
+2
-3
innobase/log/log0recv.c
innobase/log/log0recv.c
+3
-3
innobase/os/os0file.c
innobase/os/os0file.c
+19
-12
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+12
-8
innobase/ut/ut0dbg.c
innobase/ut/ut0dbg.c
+3
-2
No files found.
innobase/btr/btr0btr.c
View file @
7a845e43
...
@@ -609,8 +609,8 @@ btr_page_get_father_for_rec(
...
@@ -609,8 +609,8 @@ btr_page_get_father_for_rec(
fputs
(
fputs
(
"InnoDB: You should dump + drop + reimport the table to fix the
\n
"
"InnoDB: You should dump + drop + reimport the table to fix the
\n
"
"InnoDB: corruption. If the crash happens at the database startup, see
\n
"
"InnoDB: corruption. If the crash happens at the database startup, see
\n
"
"InnoDB:
section 6.1 of http://www.innodb.com/ibman.php about forcing
\n
"
"InnoDB:
http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html about
\n
"
"InnoDB: recovery. Then dump + drop + reimport.
\n
"
,
stderr
);
"InnoDB:
forcing
recovery. Then dump + drop + reimport.
\n
"
,
stderr
);
}
}
ut_a
(
btr_node_ptr_get_child_page_no
(
node_ptr
)
==
ut_a
(
btr_node_ptr_get_child_page_no
(
node_ptr
)
==
...
...
innobase/buf/buf0buf.c
View file @
7a845e43
...
@@ -1561,9 +1561,9 @@ buf_page_io_complete(
...
@@ -1561,9 +1561,9 @@ buf_page_io_complete(
"InnoDB: by dumping, dropping, and reimporting
\n
"
"InnoDB: by dumping, dropping, and reimporting
\n
"
"InnoDB: the corrupt table. You can use CHECK
\n
"
"InnoDB: the corrupt table. You can use CHECK
\n
"
"InnoDB: TABLE to scan your table for corruption.
\n
"
"InnoDB: TABLE to scan your table for corruption.
\n
"
"InnoDB:
Look also at section 6.1 of
\n
"
"InnoDB:
See also
"
"
InnoDB: http://www.innodb.com/ibman.php about
\n
"
"
http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html
\n
"
"InnoDB: forcing recovery.
\n
"
,
stderr
);
"InnoDB:
about
forcing recovery.
\n
"
,
stderr
);
if
(
srv_force_recovery
<
SRV_FORCE_IGNORE_CORRUPT
)
{
if
(
srv_force_recovery
<
SRV_FORCE_IGNORE_CORRUPT
)
{
fputs
(
fputs
(
...
...
innobase/dict/dict0dict.c
View file @
7a845e43
...
@@ -2020,7 +2020,8 @@ dict_foreign_error_report(
...
@@ -2020,7 +2020,8 @@ dict_foreign_error_report(
fputs
(
"
\n
The index in the foreign key in table is "
,
file
);
fputs
(
"
\n
The index in the foreign key in table is "
,
file
);
ut_print_name
(
file
,
fk
->
foreign_index
->
name
);
ut_print_name
(
file
,
fk
->
foreign_index
->
name
);
fputs
(
fputs
(
"See http://www.innodb.com/ibman.php for correct foreign key definition.
\n
"
,
"
\n
See http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html
\n
"
"for correct foreign key definition.
\n
"
,
file
);
file
);
}
}
mutex_exit
(
&
dict_foreign_err_mutex
);
mutex_exit
(
&
dict_foreign_err_mutex
);
...
@@ -2856,7 +2857,8 @@ col_loop1:
...
@@ -2856,7 +2857,8 @@ col_loop1:
ut_print_name
(
ef
,
name
);
ut_print_name
(
ef
,
name
);
fprintf
(
ef
,
" where the columns appear
\n
"
fprintf
(
ef
,
" where the columns appear
\n
"
"as the first columns. Constraint:
\n
%s
\n
"
"as the first columns. Constraint:
\n
%s
\n
"
"See http://www.innodb.com/ibman.php for correct foreign key definition.
\n
"
,
"nSee http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html
\n
"
"for correct foreign key definition.
\n
"
,
start_of_latest_foreign
);
start_of_latest_foreign
);
mutex_exit
(
&
dict_foreign_err_mutex
);
mutex_exit
(
&
dict_foreign_err_mutex
);
...
@@ -3121,7 +3123,8 @@ try_find_index:
...
@@ -3121,7 +3123,8 @@ try_find_index:
"Cannot find an index in the referenced table where the
\n
"
"Cannot find an index in the referenced table where the
\n
"
"referenced columns appear as the first columns, or column types
\n
"
"referenced columns appear as the first columns, or column types
\n
"
"in the table and the referenced table do not match for constraint.
\n
"
"in the table and the referenced table do not match for constraint.
\n
"
"See http://www.innodb.com/ibman.php for correct foreign key definition.
\n
"
,
"See http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html
\n
"
"for correct foreign key definition.
\n
"
,
start_of_latest_foreign
);
start_of_latest_foreign
);
mutex_exit
(
&
dict_foreign_err_mutex
);
mutex_exit
(
&
dict_foreign_err_mutex
);
...
...
innobase/fsp/fsp0fsp.c
View file @
7a845e43
...
@@ -2701,9 +2701,9 @@ fseg_free_page_low(
...
@@ -2701,9 +2701,9 @@ fseg_free_page_low(
"InnoDB: database!
\n
"
,
page
);
"InnoDB: database!
\n
"
,
page
);
crash:
crash:
fputs
(
fputs
(
"InnoDB:
If the InnoDB recovery crashes here, see section 6.1
\n
"
"InnoDB:
Please refer to
\n
"
"InnoDB:
of http://www.innodb.com/ibman.php about forcing recovery.
\n
"
,
"InnoDB:
http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html
\n
"
stderr
);
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
ut_error
;
ut_error
;
}
}
...
...
innobase/log/log0log.c
View file @
7a845e43
...
@@ -685,10 +685,9 @@ failure:
...
@@ -685,10 +685,9 @@ failure:
"InnoDB: To get mysqld to start up, set innodb_thread_concurrency in my.cnf
\n
"
"InnoDB: To get mysqld to start up, set innodb_thread_concurrency in my.cnf
\n
"
"InnoDB: to a lower value, for example, to 8. After an ERROR-FREE shutdown
\n
"
"InnoDB: to a lower value, for example, to 8. After an ERROR-FREE shutdown
\n
"
"InnoDB: of mysqld you can adjust the size of ib_logfiles, as explained in
\n
"
"InnoDB: of mysqld you can adjust the size of ib_logfiles, as explained in
\n
"
"InnoDB: section 5 of http://www.innodb.com/ibman.php"
,
"InnoDB: http://dev.mysql.com/doc/mysql/en/Adding_and_removing.html
\n
"
"InnoDB: Cannot continue operation. Calling exit(1).
\n
"
,
(
ulong
)
srv_thread_concurrency
);
(
ulong
)
srv_thread_concurrency
);
fprintf
(
stderr
,
"InnoDB: Cannot continue operation. Calling exit(1).
\n
"
);
exit
(
1
);
exit
(
1
);
}
}
...
...
innobase/log/log0recv.c
View file @
7a845e43
...
@@ -514,8 +514,8 @@ recv_find_max_checkpoint(
...
@@ -514,8 +514,8 @@ recv_find_max_checkpoint(
"InnoDB: If this error appears when you are creating an InnoDB database,
\n
"
"InnoDB: If this error appears when you are creating an InnoDB database,
\n
"
"InnoDB: the problem may be that during an earlier attempt you managed
\n
"
"InnoDB: the problem may be that during an earlier attempt you managed
\n
"
"InnoDB: to create the InnoDB data files, but log file creation failed.
\n
"
"InnoDB: to create the InnoDB data files, but log file creation failed.
\n
"
"InnoDB: If that is the case, please refer to
section 3.1 of
\n
"
"InnoDB: If that is the case, please refer to
\n
"
"InnoDB: http://
www.innodb.com/ibman.php
\n
"
);
"InnoDB: http://
dev.mysql.com/doc/mysql/en/Error_creating_InnoDB.html
\n
"
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
}
}
...
@@ -1840,7 +1840,7 @@ recv_report_corrupt_log(
...
@@ -1840,7 +1840,7 @@ recv_report_corrupt_log(
"InnoDB: far enough in recovery! Please run CHECK TABLE
\n
"
"InnoDB: far enough in recovery! Please run CHECK TABLE
\n
"
"InnoDB: on your InnoDB tables to check that they are ok!
\n
"
"InnoDB: on your InnoDB tables to check that they are ok!
\n
"
"InnoDB: If mysqld crashes after this recovery, look at
\n
"
"InnoDB: If mysqld crashes after this recovery, look at
\n
"
"InnoDB:
section 6.1 of http://www.innodb.com/ibman.php
\n
"
"InnoDB:
http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html
\n
"
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
fflush
(
stderr
);
fflush
(
stderr
);
...
...
innobase/os/os0file.c
View file @
7a845e43
...
@@ -212,7 +212,8 @@ os_file_get_last_error(void)
...
@@ -212,7 +212,8 @@ os_file_get_last_error(void)
ut_print_timestamp
(
stderr
);
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
fprintf
(
stderr
,
" InnoDB: Operating system error number %lu in a file operation.
\n
"
" InnoDB: Operating system error number %lu in a file operation.
\n
"
"InnoDB: See http://www.innodb.com/ibman.php for installation help.
\n
"
,
"InnoDB: See http://dev.mysql.com/doc/mysql/en/InnoDB.html
\n
"
"InnoDB: for installation help.
\n
"
,
err
);
err
);
if
(
err
==
ERROR_PATH_NOT_FOUND
)
{
if
(
err
==
ERROR_PATH_NOT_FOUND
)
{
...
@@ -227,8 +228,9 @@ os_file_get_last_error(void)
...
@@ -227,8 +228,9 @@ os_file_get_last_error(void)
"InnoDB: of the same name as a data file.
\n
"
);
"InnoDB: of the same name as a data file.
\n
"
);
}
else
{
}
else
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: See section 13.2 at http://www.innodb.com/ibman.php
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: about operating system error numbers.
\n
"
);
"InnoDB: "
"http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
\n
"
);
}
}
}
}
...
@@ -251,7 +253,8 @@ os_file_get_last_error(void)
...
@@ -251,7 +253,8 @@ os_file_get_last_error(void)
fprintf
(
stderr
,
fprintf
(
stderr
,
" InnoDB: Operating system error number %lu in a file operation.
\n
"
" InnoDB: Operating system error number %lu in a file operation.
\n
"
"InnoDB: See http://www.innodb.com/ibman.php for installation help.
\n
"
,
"InnoDB: See http://dev.mysql.com/doc/mysql/en/InnoDB.html
\n
"
"InnoDB: for installation help.
\n
"
,
err
);
err
);
if
(
err
==
ENOENT
)
{
if
(
err
==
ENOENT
)
{
...
@@ -270,8 +273,9 @@ os_file_get_last_error(void)
...
@@ -270,8 +273,9 @@ os_file_get_last_error(void)
}
}
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: See also section 13.2 at http://www.innodb.com/ibman.php
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: about operating system error numbers.
\n
"
);
"InnoDB: "
"http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
\n
"
);
}
}
}
}
...
@@ -1465,8 +1469,9 @@ retry:
...
@@ -1465,8 +1469,9 @@ retry:
fprintf
(
stderr
,
fprintf
(
stderr
,
" InnoDB: Error: File pointer positioning to file %s failed at
\n
"
" InnoDB: Error: File pointer positioning to file %s failed at
\n
"
"InnoDB: offset %lu %lu. Operating system error number %lu.
\n
"
"InnoDB: offset %lu %lu. Operating system error number %lu.
\n
"
"InnoDB: Look from section 13.2 at http://www.innodb.com/ibman.php
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: what the error number means.
\n
"
,
"InnoDB: "
"http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
\n
"
,
name
,
offset_high
,
offset
,
name
,
offset_high
,
offset
,
(
ulint
)
GetLastError
());
(
ulint
)
GetLastError
());
...
@@ -1523,8 +1528,9 @@ retry:
...
@@ -1523,8 +1528,9 @@ retry:
}
}
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: See also section 13.2 at http://www.innodb.com/ibman.php
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: about operating system error numbers.
\n
"
);
"InnoDB: "
"http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
\n
"
);
os_has_said_disk_full
=
TRUE
;
os_has_said_disk_full
=
TRUE
;
}
}
...
@@ -1558,8 +1564,9 @@ retry:
...
@@ -1558,8 +1564,9 @@ retry:
}
}
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: See also section 13.2 at http://www.innodb.com/ibman.php
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: about operating system error numbers.
\n
"
);
"InnoDB: "
"http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
\n
"
);
os_has_said_disk_full
=
TRUE
;
os_has_said_disk_full
=
TRUE
;
}
}
...
...
innobase/row/row0mysql.c
View file @
7a845e43
...
@@ -310,8 +310,9 @@ handle_new_error:
...
@@ -310,8 +310,9 @@ handle_new_error:
"InnoDB: a case of widespread corruption, dump all InnoDB
\n
"
"InnoDB: a case of widespread corruption, dump all InnoDB
\n
"
"InnoDB: tables and recreate the whole InnoDB tablespace.
\n
"
"InnoDB: tables and recreate the whole InnoDB tablespace.
\n
"
"InnoDB: If the mysqld server crashes after the startup or when
\n
"
"InnoDB: If the mysqld server crashes after the startup or when
\n
"
"InnoDB: you dump the tables, look at section 6.1 of
\n
"
"InnoDB: you dump the tables, look at
\n
"
"InnoDB: http://www.innodb.com/ibman.php for help.
\n
"
,
stderr
);
"InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html"
" for help.
\n
"
,
stderr
);
}
else
{
}
else
{
fprintf
(
stderr
,
"InnoDB: unknown error code %lu
\n
"
,
err
);
fprintf
(
stderr
,
"InnoDB: unknown error code %lu
\n
"
,
err
);
...
@@ -1551,8 +1552,9 @@ row_create_table_for_mysql(
...
@@ -1551,8 +1552,9 @@ row_create_table_for_mysql(
"InnoDB: database and moving the .frm file to the current database.
\n
"
"InnoDB: database and moving the .frm file to the current database.
\n
"
"InnoDB: Then MySQL thinks the table exists, and DROP TABLE will
\n
"
"InnoDB: Then MySQL thinks the table exists, and DROP TABLE will
\n
"
"InnoDB: succeed.
\n
"
"InnoDB: succeed.
\n
"
"InnoDB: You can look for further help from section 15.1 of
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://www.innodb.com/ibman.php
\n
"
,
stderr
);
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB_troubleshooting_datadict.html
\n
"
,
stderr
);
}
}
trx
->
error_state
=
DB_SUCCESS
;
trx
->
error_state
=
DB_SUCCESS
;
...
@@ -2089,8 +2091,9 @@ row_drop_table_for_mysql(
...
@@ -2089,8 +2091,9 @@ row_drop_table_for_mysql(
"InnoDB: data dictionary though MySQL is trying to drop it.
\n
"
"InnoDB: data dictionary though MySQL is trying to drop it.
\n
"
"InnoDB: Have you copied the .frm file of the table to the
\n
"
"InnoDB: Have you copied the .frm file of the table to the
\n
"
"InnoDB: MySQL database directory from another database?
\n
"
"InnoDB: MySQL database directory from another database?
\n
"
"InnoDB: You can look for further help from section 15.1 of
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://www.innodb.com/ibman.php
\n
"
,
stderr
);
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB_troubleshooting_datadict.html
\n
"
,
stderr
);
goto
funct_exit
;
goto
funct_exit
;
}
}
...
@@ -2588,8 +2591,9 @@ row_rename_table_for_mysql(
...
@@ -2588,8 +2591,9 @@ row_rename_table_for_mysql(
ut_print_name
(
stderr
,
old_name
);
ut_print_name
(
stderr
,
old_name
);
fputs
(
" to it.
\n
"
fputs
(
" to it.
\n
"
"InnoDB: Have you deleted the .frm file and not used DROP TABLE?
\n
"
"InnoDB: Have you deleted the .frm file and not used DROP TABLE?
\n
"
"InnoDB: You can look for further help from section 15.1 of
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://www.innodb.com/ibman.php
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB_troubleshooting_datadict.html
\n
"
"InnoDB: If table "
,
stderr
);
"InnoDB: If table "
,
stderr
);
ut_print_name
(
stderr
,
new_name
);
ut_print_name
(
stderr
,
new_name
);
fputs
(
fputs
(
...
...
innobase/ut/ut0dbg.c
View file @
7a845e43
...
@@ -31,8 +31,9 @@ const char* ut_dbg_msg_trap =
...
@@ -31,8 +31,9 @@ const char* ut_dbg_msg_trap =
"InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
\n
"
"InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
\n
"
"InnoDB: If you get repeated assertion failures or crashes, even
\n
"
"InnoDB: If you get repeated assertion failures or crashes, even
\n
"
"InnoDB: immediately after the mysqld startup, there may be
\n
"
"InnoDB: immediately after the mysqld startup, there may be
\n
"
"InnoDB: corruption in the InnoDB tablespace. See section 6.1 of
\n
"
"InnoDB: corruption in the InnoDB tablespace. Please refer to
\n
"
"InnoDB: http://www.innodb.com/ibman.php about forcing recovery.
\n
"
;
"InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html
\n
"
"InnoDB: about forcing recovery.
\n
"
;
const
char
*
ut_dbg_msg_stop
=
const
char
*
ut_dbg_msg_stop
=
"InnoDB: Thread %lu stopped in file %s line %lu
\n
"
;
"InnoDB: Thread %lu stopped in file %s line %lu
\n
"
;
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