summaryrefslogtreecommitdiff
path: root/innobase/fil/fil0fil.c
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-04-27 15:33:40 +0300
committermonty@mishka.local <>2004-04-27 15:33:40 +0300
commite9cfe01db081a0543c9f3012975742548493882d (patch)
tree4b29146428c84ab3e10e4007d26e3c0b4b2b1074 /innobase/fil/fil0fil.c
parent21fd1d270eb58fa95551bb6e37ecef5a30785929 (diff)
downloadmariadb-git-e9cfe01db081a0543c9f3012975742548493882d.tar.gz
After merge fixes
Changed 'SHOW FIELD STATUS' to use 'Engine' instead of 'Type'
Diffstat (limited to 'innobase/fil/fil0fil.c')
-rw-r--r--innobase/fil/fil0fil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/innobase/fil/fil0fil.c b/innobase/fil/fil0fil.c
index b3cf1457225..b9aff246802 100644
--- a/innobase/fil/fil0fil.c
+++ b/innobase/fil/fil0fil.c
@@ -86,7 +86,7 @@ the count drops to zero. */
/* When mysqld is run, the default directory "." is the mysqld datadir,
but in the MySQL Embedded Server Library and ibbackup it is not the default
directory, and we must set the base file path explicitly */
-const char* fil_path_to_mysql_datadir = (char*)".";
+const char* fil_path_to_mysql_datadir = ".";
ulint fil_n_pending_log_flushes = 0;
ulint fil_n_pending_tablespace_flushes = 0;
@@ -2727,7 +2727,7 @@ fil_load_single_table_tablespaces(void)
/* The datadir of MySQL is always the default directory of mysqld */
- dir = os_file_opendir(fil_path_to_mysql_datadir, TRUE);
+ dir = os_file_opendir((char*) fil_path_to_mysql_datadir, TRUE);
if (dir == NULL) {
@@ -2739,7 +2739,7 @@ fil_load_single_table_tablespaces(void)
/* Scan all directories under the datadir. They are the database
directories of MySQL. */
- ret = os_file_readdir_next_file(fil_path_to_mysql_datadir, dir,
+ ret = os_file_readdir_next_file((char*) fil_path_to_mysql_datadir, dir,
&dbinfo);
while (ret == 0) {
/* printf("Looking at %s in datadir\n", dbinfo.name); */
@@ -2800,7 +2800,7 @@ next_file_item:
}
next_datadir_item:
- ret = os_file_readdir_next_file(fil_path_to_mysql_datadir,
+ ret = os_file_readdir_next_file((char*) fil_path_to_mysql_datadir,
dir, &dbinfo);
}