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
b7584973
Commit
b7584973
authored
Aug 08, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct all URLs pointing to the MySQL manual. (Bug #21467)
parent
df475ab7
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
54 additions
and
65 deletions
+54
-65
btr/btr0btr.c
btr/btr0btr.c
+1
-1
buf/buf0buf.c
buf/buf0buf.c
+3
-2
dict/dict0dict.c
dict/dict0dict.c
+5
-6
fil/fil0fil.c
fil/fil0fil.c
+3
-6
fsp/fsp0fsp.c
fsp/fsp0fsp.c
+1
-1
handler/ha_innodb.cc
handler/ha_innodb.cc
+12
-19
include/buf0buf.ic
include/buf0buf.ic
+4
-4
log/log0log.c
log/log0log.c
+1
-1
log/log0recv.c
log/log0recv.c
+2
-2
os/os0file.c
os/os0file.c
+6
-6
row/row0mysql.c
row/row0mysql.c
+13
-14
row/row0sel.c
row/row0sel.c
+1
-1
srv/srv0start.c
srv/srv0start.c
+1
-1
ut/ut0dbg.c
ut/ut0dbg.c
+1
-1
No files found.
btr/btr0btr.c
View file @
b7584973
...
@@ -624,7 +624,7 @@ btr_page_get_father_for_rec(
...
@@ -624,7 +624,7 @@ 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: http://dev.mysql.com/doc/
mysql/en/Forcing_
recovery.html about
\n
"
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/forcing-
recovery.html about
\n
"
"InnoDB: forcing recovery. Then dump + drop + reimport.
\n
"
,
stderr
);
"InnoDB: forcing recovery. Then dump + drop + reimport.
\n
"
,
stderr
);
}
}
...
...
buf/buf0buf.c
View file @
b7584973
...
@@ -323,7 +323,8 @@ buf_page_is_corrupted(
...
@@ -323,7 +323,8 @@ buf_page_is_corrupted(
"InnoDB: is in the future! Current system log sequence number %lu %lu.
\n
"
"InnoDB: is in the future! Current system log sequence number %lu %lu.
\n
"
"InnoDB: Your database may be corrupt or you may have copied the InnoDB
\n
"
"InnoDB: Your database may be corrupt or you may have copied the InnoDB
\n
"
"InnoDB: tablespace but not the InnoDB log files. See
\n
"
"InnoDB: tablespace but not the InnoDB log files. See
\n
"
"http://dev.mysql.com/doc/mysql/en/backing-up.html for more information.
\n
"
,
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
\n
"
"InnoDB: for more information.
\n
"
,
(
ulong
)
mach_read_from_4
(
read_buf
+
FIL_PAGE_OFFSET
),
(
ulong
)
mach_read_from_4
(
read_buf
+
FIL_PAGE_OFFSET
),
(
ulong
)
ut_dulint_get_high
(
(
ulong
)
ut_dulint_get_high
(
mach_read_from_8
(
read_buf
+
FIL_PAGE_LSN
)),
mach_read_from_8
(
read_buf
+
FIL_PAGE_LSN
)),
...
@@ -1923,7 +1924,7 @@ buf_page_io_complete(
...
@@ -1923,7 +1924,7 @@ buf_page_io_complete(
"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: See also "
"InnoDB: See also "
"http://dev.mysql.com/doc/mysql/en/Forcing_
recovery.html
\n
"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-
recovery.html
\n
"
"InnoDB: about 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
)
{
...
...
dict/dict0dict.c
View file @
b7584973
...
@@ -2215,8 +2215,8 @@ dict_foreign_error_report(
...
@@ -2215,8 +2215,8 @@ dict_foreign_error_report(
if
(
fk
->
foreign_index
)
{
if
(
fk
->
foreign_index
)
{
fputs
(
"The index in the foreign key in table is "
,
file
);
fputs
(
"The index in the foreign key in table is "
,
file
);
ut_print_name
(
file
,
NULL
,
FALSE
,
fk
->
foreign_index
->
name
);
ut_print_name
(
file
,
NULL
,
FALSE
,
fk
->
foreign_index
->
name
);
fputs
(
fputs
(
"
\n
"
"
\n
See http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_
constraints.html
\n
"
"
See http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-
constraints.html
\n
"
"for correct foreign key definition.
\n
"
,
"for correct foreign key definition.
\n
"
,
file
);
file
);
}
}
...
@@ -3119,7 +3119,7 @@ col_loop1:
...
@@ -3119,7 +3119,7 @@ col_loop1:
ut_print_name
(
ef
,
NULL
,
TRUE
,
name
);
ut_print_name
(
ef
,
NULL
,
TRUE
,
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://dev.mysql.com/doc/
mysql/en/InnoDB_foreign_key_
constraints.html
\n
"
"See http://dev.mysql.com/doc/
refman/5.1/en/innodb-foreign-key-
constraints.html
\n
"
"for correct foreign key definition.
\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
);
...
@@ -3387,7 +3387,7 @@ try_find_index:
...
@@ -3387,7 +3387,7 @@ try_find_index:
"Note that the internal storage type of ENUM and SET changed in
\n
"
"Note that the internal storage type of ENUM and SET changed in
\n
"
"tables created with >= InnoDB-4.1.12, and such columns in old tables
\n
"
"tables created with >= InnoDB-4.1.12, and such columns in old tables
\n
"
"cannot be referenced by such columns in new tables.
\n
"
"cannot be referenced by such columns in new tables.
\n
"
"See http://dev.mysql.com/doc/
mysql/en/InnoDB_foreign_key_
constraints.html
\n
"
"See http://dev.mysql.com/doc/
refman/5.1/en/innodb-foreign-key-
constraints.html
\n
"
"for correct foreign key definition.
\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
);
...
@@ -3941,8 +3941,7 @@ dict_update_statistics_low(
...
@@ -3941,8 +3941,7 @@ dict_update_statistics_low(
fprintf
(
stderr
,
fprintf
(
stderr
,
" InnoDB: cannot calculate statistics for table %s
\n
"
" InnoDB: cannot calculate statistics for table %s
\n
"
"InnoDB: because the .ibd file is missing. For help, please refer to
\n
"
"InnoDB: because the .ibd file is missing. For help, please refer to
\n
"
"InnoDB: "
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
"http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.html
\n
"
,
table
->
name
);
table
->
name
);
return
;
return
;
...
...
fil/fil0fil.c
View file @
b7584973
...
@@ -2688,8 +2688,7 @@ fil_open_single_table_tablespace(
...
@@ -2688,8 +2688,7 @@ fil_open_single_table_tablespace(
"InnoDB: It is also possible that this is a temporary table #sql...,
\n
"
"InnoDB: It is also possible that this is a temporary table #sql...,
\n
"
"InnoDB: and MySQL removed the .ibd file for this.
\n
"
"InnoDB: and MySQL removed the .ibd file for this.
\n
"
"InnoDB: Please refer to
\n
"
"InnoDB: Please refer to
\n
"
"InnoDB:"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
" http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.html
\n
"
"InnoDB: for how to resolve the issue.
\n
"
,
stderr
);
"InnoDB: for how to resolve the issue.
\n
"
,
stderr
);
mem_free
(
filepath
);
mem_free
(
filepath
);
...
@@ -2728,8 +2727,7 @@ fil_open_single_table_tablespace(
...
@@ -2728,8 +2727,7 @@ fil_open_single_table_tablespace(
"InnoDB: Have you moved InnoDB .ibd files around without using the
\n
"
"InnoDB: Have you moved InnoDB .ibd files around without using the
\n
"
"InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
\n
"
"InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
\n
"
"InnoDB: Please refer to
\n
"
"InnoDB: Please refer to
\n
"
"InnoDB:"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
" http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.html
\n
"
"InnoDB: for how to resolve the issue.
\n
"
,
(
ulong
)
space_id
,
(
ulong
)
id
);
"InnoDB: for how to resolve the issue.
\n
"
,
(
ulong
)
space_id
,
(
ulong
)
id
);
ret
=
FALSE
;
ret
=
FALSE
;
...
@@ -3376,8 +3374,7 @@ fil_space_for_table_exists_in_mem(
...
@@ -3376,8 +3374,7 @@ fil_space_for_table_exists_in_mem(
error_exit:
error_exit:
fputs
(
fputs
(
"InnoDB: Please refer to
\n
"
"InnoDB: Please refer to
\n
"
"InnoDB:"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
" http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.html
\n
"
"InnoDB: for how to resolve the issue.
\n
"
,
stderr
);
"InnoDB: for how to resolve the issue.
\n
"
,
stderr
);
mem_free
(
path
);
mem_free
(
path
);
...
...
fsp/fsp0fsp.c
View file @
b7584973
...
@@ -2988,7 +2988,7 @@ fseg_free_page_low(
...
@@ -2988,7 +2988,7 @@ fseg_free_page_low(
crash:
crash:
fputs
(
fputs
(
"InnoDB: Please refer to
\n
"
"InnoDB: Please refer to
\n
"
"InnoDB: http://dev.mysql.com/doc/
mysql/en/Forcing_
recovery.html
\n
"
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/forcing-
recovery.html
\n
"
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
ut_error
;
ut_error
;
}
}
...
...
handler/ha_innodb.cc
View file @
b7584973
...
@@ -2367,8 +2367,7 @@ ha_innobase::open(
...
@@ -2367,8 +2367,7 @@ ha_innobase::open(
"have forgotten
\n
to delete the corresponding "
"have forgotten
\n
to delete the corresponding "
".frm files of InnoDB tables, or you
\n
"
".frm files of InnoDB tables, or you
\n
"
"have moved .frm files to another database?
\n
"
"have moved .frm files to another database?
\n
"
"Look from section 15.1 of "
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
"http://www.innodb.com/ibman.html
\n
"
"how you can resolve the problem.
\n
"
,
"how you can resolve the problem.
\n
"
,
norm_name
);
norm_name
);
free_share
(
share
);
free_share
(
share
);
...
@@ -2385,8 +2384,7 @@ ha_innobase::open(
...
@@ -2385,8 +2384,7 @@ ha_innobase::open(
"Have you deleted the .ibd file from the "
"Have you deleted the .ibd file from the "
"database directory under
\n
the MySQL datadir, "
"database directory under
\n
the MySQL datadir, "
"or have you used DISCARD TABLESPACE?
\n
"
"or have you used DISCARD TABLESPACE?
\n
"
"Look from section 15.1 of "
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
"http://www.innodb.com/ibman.html
\n
"
"how you can resolve the problem.
\n
"
,
"how you can resolve the problem.
\n
"
,
norm_name
);
norm_name
);
free_share
(
share
);
free_share
(
share
);
...
@@ -5619,13 +5617,14 @@ ha_innobase::info(
...
@@ -5619,13 +5617,14 @@ ha_innobase::info(
for
(
i
=
0
;
i
<
table
->
s
->
keys
;
i
++
)
{
for
(
i
=
0
;
i
<
table
->
s
->
keys
;
i
++
)
{
if
(
index
==
NULL
)
{
if
(
index
==
NULL
)
{
ut_print_timestamp
(
stderr
);
ut_print_timestamp
(
stderr
);
sql_print_error
(
"Table %s contains
less
"
sql_print_error
(
"Table %s contains
fewer
"
"indexes inside InnoDB than "
"indexes inside InnoDB than "
"are defined in the MySQL "
"are defined in the MySQL "
".frm file. Have you mixed up "
".frm file. Have you mixed up "
".frm files from different "
".frm files from different "
"installations? See section "
"installations? See "
"15.1 at http://www.innodb.com/ibman.html"
,
"http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
ib_table
->
name
);
ib_table
->
name
);
break
;
break
;
}
}
...
@@ -5634,17 +5633,11 @@ ha_innobase::info(
...
@@ -5634,17 +5633,11 @@ ha_innobase::info(
if
(
j
+
1
>
index
->
n_uniq
)
{
if
(
j
+
1
>
index
->
n_uniq
)
{
ut_print_timestamp
(
stderr
);
ut_print_timestamp
(
stderr
);
sql_print_error
(
"Index %s of %s has "
sql_print_error
(
"%lu columns unique "
"Index %s of %s has %lu columns unique inside InnoDB, but MySQL is asking "
"inside InnoDB, but "
"statistics for %lu columns. Have you mixed up .frm files from different "
"MySQL is asking "
"installations? "
"statistics for %lu "
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
"columns. Have you "
"mixed up .frm files "
"from different "
"installations? See "
"section 15.1 at "
"http://www.innodb.com/ibman.html"
,
index
->
name
,
index
->
name
,
ib_table
->
name
,
ib_table
->
name
,
(
unsigned
long
)
(
unsigned
long
)
...
@@ -6449,7 +6442,7 @@ ha_innobase::transactional_table_lock(
...
@@ -6449,7 +6442,7 @@ ha_innobase::transactional_table_lock(
"table %s does not exist.
\n
"
"table %s does not exist.
\n
"
"Have you deleted the .ibd file from the database directory under
\n
"
"Have you deleted the .ibd file from the database directory under
\n
"
"the MySQL datadir?"
"the MySQL datadir?"
"
Look from section 15.1 of http://www.innodb.com/ibman
.html
\n
"
"
See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting
.html
\n
"
"how you can resolve the problem.
\n
"
,
"how you can resolve the problem.
\n
"
,
prebuilt
->
table
->
name
);
prebuilt
->
table
->
name
);
DBUG_RETURN
(
HA_ERR_CRASHED
);
DBUG_RETURN
(
HA_ERR_CRASHED
);
...
...
include/buf0buf.ic
View file @
b7584973
...
@@ -216,8 +216,8 @@ buf_block_align(
...
@@ -216,8 +216,8 @@ buf_block_align(
"InnoDB: Error: trying to access a stray pointer %p\n"
"InnoDB: Error: trying to access a stray pointer %p\n"
"InnoDB: buf pool start is at %p, end at %p\n"
"InnoDB: buf pool start is at %p, end at %p\n"
"InnoDB: Probable reason is database corruption or memory\n"
"InnoDB: Probable reason is database corruption or memory\n"
"InnoDB: corruption. If this happens in an InnoDB database recovery,\n"
"InnoDB: corruption. If this happens in an InnoDB database recovery,
see
\n"
"InnoDB:
you can look from section 6.1 at http://www.innodb.com/ibman
.html\n"
"InnoDB:
http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery
.html\n"
"InnoDB: how to force recovery.\n",
"InnoDB: how to force recovery.\n",
ptr, frame_zero,
ptr, frame_zero,
buf_pool->high_end);
buf_pool->high_end);
...
@@ -252,8 +252,8 @@ buf_frame_align(
...
@@ -252,8 +252,8 @@ buf_frame_align(
"InnoDB: Error: trying to access a stray pointer %p\n"
"InnoDB: Error: trying to access a stray pointer %p\n"
"InnoDB: buf pool start is at %p, end at %p\n"
"InnoDB: buf pool start is at %p, end at %p\n"
"InnoDB: Probable reason is database corruption or memory\n"
"InnoDB: Probable reason is database corruption or memory\n"
"InnoDB: corruption. If this happens in an InnoDB database recovery,\n"
"InnoDB: corruption. If this happens in an InnoDB database recovery,
see
\n"
"InnoDB:
you can look from section 6.1 at http://www.innodb.com/ibman
.html\n"
"InnoDB:
http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery
.html\n"
"InnoDB: how to force recovery.\n",
"InnoDB: how to force recovery.\n",
ptr, buf_pool->frame_zero,
ptr, buf_pool->frame_zero,
buf_pool->high_end);
buf_pool->high_end);
...
...
log/log0log.c
View file @
b7584973
...
@@ -720,7 +720,7 @@ failure:
...
@@ -720,7 +720,7 @@ 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: http://dev.mysql.com/doc/
mysql/en/Adding_and_
removing.html
\n
"
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/adding-and-
removing.html
\n
"
"InnoDB: Cannot continue operation. Calling exit(1).
\n
"
,
"InnoDB: Cannot continue operation. Calling exit(1).
\n
"
,
(
ulong
)
srv_thread_concurrency
);
(
ulong
)
srv_thread_concurrency
);
...
...
log/log0recv.c
View file @
b7584973
...
@@ -542,7 +542,7 @@ recv_find_max_checkpoint(
...
@@ -542,7 +542,7 @@ recv_find_max_checkpoint(
"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
\n
"
"InnoDB: If that is the case, please refer to
\n
"
"InnoDB: http://dev.mysql.com/doc/
mysql/en/Error_creating_InnoDB
.html
\n
"
);
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/error-creating-innodb
.html
\n
"
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
}
}
...
@@ -1962,7 +1962,7 @@ recv_report_corrupt_log(
...
@@ -1962,7 +1962,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: http://dev.mysql.com/doc/
mysql/en/Forcing_
recovery.html
\n
"
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/forcing-
recovery.html
\n
"
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
fflush
(
stderr
);
fflush
(
stderr
);
...
...
os/os0file.c
View file @
b7584973
...
@@ -248,7 +248,7 @@ os_file_get_last_error(
...
@@ -248,7 +248,7 @@ os_file_get_last_error(
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: "
"InnoDB: "
"http://dev.mysql.com/doc/
mysql/en/Operating_System_error_
codes.html
\n
"
);
"http://dev.mysql.com/doc/
refman/5.1/en/operating-system-error-
codes.html
\n
"
);
}
}
}
}
...
@@ -295,7 +295,7 @@ os_file_get_last_error(
...
@@ -295,7 +295,7 @@ os_file_get_last_error(
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: "
"InnoDB: "
"http://dev.mysql.com/doc/
mysql/en/Operating_System_error_
codes.html
\n
"
);
"http://dev.mysql.com/doc/
refman/5.1/en/operating-system-error-
codes.html
\n
"
);
}
}
}
}
...
@@ -688,7 +688,7 @@ next_file:
...
@@ -688,7 +688,7 @@ next_file:
/* TODO: test Windows symlinks */
/* TODO: test Windows symlinks */
/* TODO: MySQL has apparently its own symlink implementation in Windows,
/* TODO: MySQL has apparently its own symlink implementation in Windows,
dbname.sym can redirect a database directory:
dbname.sym can redirect a database directory:
http://
www.mysql.com/doc/en/Windows_symbolic_
links.html */
http://
dev.mysql.com/doc/refman/5.1/en/windows-symbolic-
links.html */
info
->
type
=
OS_FILE_TYPE_LINK
;
info
->
type
=
OS_FILE_TYPE_LINK
;
}
else
if
(
lpFindFileData
->
dwFileAttributes
}
else
if
(
lpFindFileData
->
dwFileAttributes
&
FILE_ATTRIBUTE_DIRECTORY
)
{
&
FILE_ATTRIBUTE_DIRECTORY
)
{
...
@@ -2343,7 +2343,7 @@ retry:
...
@@ -2343,7 +2343,7 @@ retry:
"InnoDB: offset %lu %lu. Operating system error number %lu.
\n
"
"InnoDB: offset %lu %lu. Operating system error number %lu.
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: "
"InnoDB: "
"http://dev.mysql.com/doc/
mysql/en/Operating_System_error_
codes.html
\n
"
,
"http://dev.mysql.com/doc/
refman/5.1/en/operating-system-error-
codes.html
\n
"
,
name
,
(
ulong
)
offset_high
,
(
ulong
)
offset
,
name
,
(
ulong
)
offset_high
,
(
ulong
)
offset
,
(
ulong
)
GetLastError
());
(
ulong
)
GetLastError
());
...
@@ -2408,7 +2408,7 @@ retry:
...
@@ -2408,7 +2408,7 @@ retry:
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: "
"InnoDB: "
"http://dev.mysql.com/doc/
mysql/en/Operating_System_error_
codes.html
\n
"
);
"http://dev.mysql.com/doc/
refman/5.1/en/operating-system-error-
codes.html
\n
"
);
os_has_said_disk_full
=
TRUE
;
os_has_said_disk_full
=
TRUE
;
}
}
...
@@ -2444,7 +2444,7 @@ retry:
...
@@ -2444,7 +2444,7 @@ retry:
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: Some operating system error numbers are described at
\n
"
"InnoDB: "
"InnoDB: "
"http://dev.mysql.com/doc/
mysql/en/Operating_System_error_
codes.html
\n
"
);
"http://dev.mysql.com/doc/
refman/5.1/en/operating-system-error-
codes.html
\n
"
);
os_has_said_disk_full
=
TRUE
;
os_has_said_disk_full
=
TRUE
;
}
}
...
...
row/row0mysql.c
View file @
b7584973
...
@@ -529,7 +529,7 @@ handle_new_error:
...
@@ -529,7 +529,7 @@ handle_new_error:
"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
\n
"
"InnoDB: you dump the tables, look at
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_
recovery.html"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-
recovery.html"
" for help.
\n
"
,
stderr
);
" for help.
\n
"
,
stderr
);
}
else
{
}
else
{
...
@@ -1062,7 +1062,7 @@ row_insert_for_mysql(
...
@@ -1062,7 +1062,7 @@ row_insert_for_mysql(
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: Look from
\n
"
"InnoDB: Look from
\n
"
"
http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict
.html
\n
"
"
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting
.html
\n
"
"InnoDB: how you can resolve the problem.
\n
"
,
"InnoDB: how you can resolve the problem.
\n
"
,
prebuilt
->
table
->
name
);
prebuilt
->
table
->
name
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
...
@@ -1298,7 +1298,7 @@ row_update_for_mysql(
...
@@ -1298,7 +1298,7 @@ row_update_for_mysql(
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: Look from
\n
"
"InnoDB: Look from
\n
"
"
http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict
.html
\n
"
"
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting
.html
\n
"
"InnoDB: how you can resolve the problem.
\n
"
,
"InnoDB: how you can resolve the problem.
\n
"
,
prebuilt
->
table
->
name
);
prebuilt
->
table
->
name
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
...
@@ -1893,8 +1893,8 @@ row_create_table_for_mysql(
...
@@ -1893,8 +1893,8 @@ row_create_table_for_mysql(
"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
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
"InnoDB_troubleshooting_datadict.html
\n
"
,
stderr
);
stderr
);
}
}
/* We may also get err == DB_ERROR if the .ibd file for the
/* We may also get err == DB_ERROR if the .ibd file for the
...
@@ -2969,8 +2969,8 @@ row_drop_table_for_mysql(
...
@@ -2969,8 +2969,8 @@ row_drop_table_for_mysql(
"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
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
"InnoDB_troubleshooting_datadict.html
\n
"
,
stderr
);
stderr
);
goto
funct_exit
;
goto
funct_exit
;
}
}
...
@@ -3465,8 +3465,8 @@ row_rename_table_for_mysql(
...
@@ -3465,8 +3465,8 @@ row_rename_table_for_mysql(
"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
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
"InnoDB_troubleshooting_datadict.html
\n
"
,
stderr
);
stderr
);
goto
funct_exit
;
goto
funct_exit
;
}
}
...
@@ -3479,8 +3479,8 @@ row_rename_table_for_mysql(
...
@@ -3479,8 +3479,8 @@ row_rename_table_for_mysql(
fputs
(
fputs
(
" does not have an .ibd file in the database directory.
\n
"
" does not have an .ibd file in the database directory.
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
,
"InnoDB_troubleshooting_datadict.html
\n
"
,
stderr
);
stderr
);
goto
funct_exit
;
goto
funct_exit
;
}
}
...
@@ -3628,8 +3628,7 @@ end:
...
@@ -3628,8 +3628,7 @@ end:
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
\n
"
"InnoDB: You can look for further help from
\n
"
"InnoDB: http://dev.mysql.com/doc/mysql/en/"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
\n
"
"InnoDB_troubleshooting_datadict.html
\n
"
"InnoDB: If table "
,
stderr
);
"InnoDB: If table "
,
stderr
);
ut_print_name
(
stderr
,
trx
,
TRUE
,
new_name
);
ut_print_name
(
stderr
,
trx
,
TRUE
,
new_name
);
fputs
(
fputs
(
...
@@ -3874,7 +3873,7 @@ row_check_table_for_mysql(
...
@@ -3874,7 +3873,7 @@ row_check_table_for_mysql(
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: Look from
\n
"
"InnoDB: Look from
\n
"
"
http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict
.html
\n
"
"
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting
.html
\n
"
"InnoDB: how you can resolve the problem.
\n
"
,
"InnoDB: how you can resolve the problem.
\n
"
,
prebuilt
->
table
->
name
);
prebuilt
->
table
->
name
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
...
...
row/row0sel.c
View file @
b7584973
...
@@ -3245,7 +3245,7 @@ row_search_for_mysql(
...
@@ -3245,7 +3245,7 @@ row_search_for_mysql(
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: Have you deleted the .ibd file from the database directory under
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: the MySQL datadir, or have you used DISCARD TABLESPACE?
\n
"
"InnoDB: Look from
\n
"
"InnoDB: Look from
\n
"
"
http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict
.html
\n
"
"
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting
.html
\n
"
"InnoDB: how you can resolve the problem.
\n
"
,
"InnoDB: how you can resolve the problem.
\n
"
,
prebuilt
->
table
->
name
);
prebuilt
->
table
->
name
);
...
...
srv/srv0start.c
View file @
b7584973
...
@@ -1691,7 +1691,7 @@ NetWare. */
...
@@ -1691,7 +1691,7 @@ NetWare. */
"InnoDB: You have now successfully upgraded to the multiple tablespaces
\n
"
"InnoDB: You have now successfully upgraded to the multiple tablespaces
\n
"
"InnoDB: format. You should NOT DOWNGRADE to an earlier version of
\n
"
"InnoDB: format. You should NOT DOWNGRADE to an earlier version of
\n
"
"InnoDB: InnoDB! But if you absolutely need to downgrade, see
\n
"
"InnoDB: InnoDB! But if you absolutely need to downgrade, see
\n
"
"InnoDB: http://dev.mysql.com/doc/
mysql/en/Multiple_
tablespaces.html
\n
"
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/multiple-
tablespaces.html
\n
"
"InnoDB: for instructions.
\n
"
);
"InnoDB: for instructions.
\n
"
);
}
}
...
...
ut/ut0dbg.c
View file @
b7584973
...
@@ -56,7 +56,7 @@ ut_dbg_assertion_failed(
...
@@ -56,7 +56,7 @@ ut_dbg_assertion_failed(
"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. Please refer to
\n
"
"InnoDB: corruption in the InnoDB tablespace. Please refer to
\n
"
"InnoDB: http://dev.mysql.com/doc/
mysql/en/Forcing_
recovery.html
\n
"
"InnoDB: http://dev.mysql.com/doc/
refman/5.1/en/forcing-
recovery.html
\n
"
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
"InnoDB: about forcing recovery.
\n
"
,
stderr
);
#if defined(UNIV_SYNC_DEBUG) || !defined(UT_DBG_USE_ABORT)
#if defined(UNIV_SYNC_DEBUG) || !defined(UT_DBG_USE_ABORT)
ut_dbg_stop_threads
=
TRUE
;
ut_dbg_stop_threads
=
TRUE
;
...
...
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