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
5e56a6bc
Commit
5e56a6bc
authored
Nov 25, 2005
by
knielsen@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/data0/mysqldev/my/mysql-5.1-release
into mysql.com:/data0/mysqldev/my/mysql-5.1.3-fixes
parents
a6c97bb6
ce50088e
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
46 additions
and
30 deletions
+46
-30
BUILD/compile-dist
BUILD/compile-dist
+5
-0
VC++Files/libmysqld/libmysqld.vcproj
VC++Files/libmysqld/libmysqld.vcproj
+2
-2
VC++Files/myisam_ftdump/myisam_ftdump.vcproj
VC++Files/myisam_ftdump/myisam_ftdump.vcproj
+3
-3
VC++Files/myisamchk/myisamchk.vcproj
VC++Files/myisamchk/myisamchk.vcproj
+4
-4
VC++Files/myisamlog/myisamlog.vcproj
VC++Files/myisamlog/myisamlog.vcproj
+4
-4
VC++Files/myisampack/myisampack.vcproj
VC++Files/myisampack/myisampack.vcproj
+4
-4
VC++Files/mysqldemb/mysqldemb.vcproj
VC++Files/mysqldemb/mysqldemb.vcproj
+2
-2
VC++Files/mysqlserver/mysqlserver.vcproj
VC++Files/mysqlserver/mysqlserver.vcproj
+2
-2
VC++Files/sql/mysqld.vcproj
VC++Files/sql/mysqld.vcproj
+4
-4
sql/examples/ha_example.cc
sql/examples/ha_example.cc
+2
-2
sql/table.cc
sql/table.cc
+14
-3
No files found.
BUILD/compile-dist
View file @
5e56a6bc
...
@@ -45,6 +45,11 @@ fi
...
@@ -45,6 +45,11 @@ fi
# Make sure to enable all features that affect "make dist"
# Make sure to enable all features that affect "make dist"
./configure
\
./configure
\
--with-embedded-server
\
--with-embedded-server
\
--with-archive-storage-engine
\
--with-blackhole-storage-engine
\
--with-csv-storage-engine
\
--with-example-storage-engine
\
--with-federated-storage-engine
\
--with-berkeley-db
\
--with-berkeley-db
\
--with-innodb
\
--with-innodb
\
--enable-thread-safe-client
\
--enable-thread-safe-client
\
...
...
VC++Files/libmysqld/libmysqld.vcproj
View file @
5e56a6bc
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<Tool
<Tool
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
AdditionalIncludeDirectories=
"../include,../libmysqld,../sql,../regex,../extra/yassl/include,../bdb/build_win32,../zlib"
AdditionalIncludeDirectories=
"../include,../libmysqld,../sql,../regex,../extra/yassl/include,../
storage/
bdb/build_win32,../zlib"
PreprocessorDefinitions=
"WIN32;_DEBUG;_WINDOWS;SAFEMALLOC;HAVE_BERKELEY_DB;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;USE_TLS;__WIN__"
PreprocessorDefinitions=
"WIN32;_DEBUG;_WINDOWS;SAFEMALLOC;HAVE_BERKELEY_DB;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;USE_TLS;__WIN__"
BasicRuntimeChecks=
"3"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../libmysqld,../sql,../regex,../extra/yassl/include,../bdb/build_win32,../zlib"
AdditionalIncludeDirectories=
"../include,../libmysqld,../sql,../regex,../extra/yassl/include,../
storage/
bdb/build_win32,../zlib"
PreprocessorDefinitions=
"WIN32;NDEBUG;_WINDOWS;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;DBUG_OFF;USE_TLS;__WIN__"
PreprocessorDefinitions=
"WIN32;NDEBUG;_WINDOWS;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;DBUG_OFF;USE_TLS;__WIN__"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
...
VC++Files/myisam_ftdump/myisam_ftdump.vcproj
View file @
5e56a6bc
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
PrecompiledHeaderFile=
".\debug/myisam_ftdump.pch"
PrecompiledHeaderFile=
".\debug/myisam_ftdump.pch"
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"DBUG_OFF;_CONSOLE;_WINDOWS;NDEBUG"
PreprocessorDefinitions=
"DBUG_OFF;_CONSOLE;_WINDOWS;NDEBUG"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
Name=
"Source Files"
Name=
"Source Files"
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
<File
RelativePath=
"..\myisam\myisam_ftdump.c"
>
RelativePath=
"..\
storage\
myisam\myisam_ftdump.c"
>
<FileConfiguration
<FileConfiguration
Name=
"Debug|Win32"
>
Name=
"Debug|Win32"
>
<Tool
<Tool
...
...
VC++Files/myisamchk/myisamchk.vcproj
View file @
5e56a6bc
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;_CONSOLE;_WINDOWS"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_CONSOLE;_WINDOWS;LICENSE=Commercial;DBUG_OFF;NDEBUG"
PreprocessorDefinitions=
"_CONSOLE;_WINDOWS;LICENSE=Commercial;DBUG_OFF;NDEBUG"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
PrecompiledHeaderFile=
".\debug/myisamchk.pch"
PrecompiledHeaderFile=
".\debug/myisamchk.pch"
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
Name=
"Source Files"
Name=
"Source Files"
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
<File
RelativePath=
"..\myisam\myisamchk.c"
>
RelativePath=
"..\
storage\
myisam\myisamchk.c"
>
<FileConfiguration
<FileConfiguration
Name=
"Release|Win32"
>
Name=
"Release|Win32"
>
<Tool
<Tool
...
...
VC++Files/myisamlog/myisamlog.vcproj
View file @
5e56a6bc
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
PrecompiledHeaderFile=
".\Debug/myisamlog.pch"
PrecompiledHeaderFile=
".\Debug/myisamlog.pch"
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_CONSOLE;_WINDOWS;LICENSE=Commercial;DBUG_OFF;NDEBUG"
PreprocessorDefinitions=
"_CONSOLE;_WINDOWS;LICENSE=Commercial;DBUG_OFF;NDEBUG"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;_CONSOLE;_WINDOWS"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
Name=
"Source Files"
Name=
"Source Files"
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
<File
RelativePath=
"..\myisam\myisamlog.c"
>
RelativePath=
"..\
storage\
myisam\myisamlog.c"
>
<FileConfiguration
<FileConfiguration
Name=
"Debug|Win32"
>
Name=
"Debug|Win32"
>
<Tool
<Tool
...
...
VC++Files/myisampack/myisampack.vcproj
View file @
5e56a6bc
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
PrecompiledHeaderFile=
".\debug/myisampack.pch"
PrecompiledHeaderFile=
".\debug/myisampack.pch"
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;_CONSOLE;_WINDOWS"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;_CONSOLE;_WINDOWS"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../include,../myisam"
AdditionalIncludeDirectories=
"../include,../
storage/
myisam"
PreprocessorDefinitions=
"_CONSOLE;_WINDOWS;LICENSE=Commercial;DBUG_OFF;NDEBUG"
PreprocessorDefinitions=
"_CONSOLE;_WINDOWS;LICENSE=Commercial;DBUG_OFF;NDEBUG"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
Name=
"Source Files"
Name=
"Source Files"
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
Filter=
"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
<File
RelativePath=
"..\myisam\myisampack.c"
>
RelativePath=
"..\
storage\
myisam\myisampack.c"
>
<FileConfiguration
<FileConfiguration
Name=
"Debug|Win32"
>
Name=
"Debug|Win32"
>
<Tool
<Tool
...
...
VC++Files/mysqldemb/mysqldemb.vcproj
View file @
5e56a6bc
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
<Tool
<Tool
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
AdditionalIncludeDirectories=
"../zlib,../include,../regex,../libmysqld,../sql,../bdb/build_win32"
AdditionalIncludeDirectories=
"../zlib,../include,../regex,../libmysqld,../sql,../
storage/
bdb/build_win32"
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;MYSQL_SERVER;HAVE_INNOBASE_DB;USE_TLS;__WIN__"
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;MYSQL_SERVER;HAVE_INNOBASE_DB;USE_TLS;__WIN__"
BasicRuntimeChecks=
"3"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
AdditionalIncludeDirectories=
"../include,../regex,../libmysqld,../sql,../bdb/build_win32,../zlib"
AdditionalIncludeDirectories=
"../include,../regex,../libmysqld,../sql,../
storage/
bdb/build_win32,../zlib"
PreprocessorDefinitions=
"WIN32;NDEBUG;_LIB;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;MYSQL_SERVER;HAVE_INNOBASE_DB;DBUG_OFF;USE_TLS;__WIN__"
PreprocessorDefinitions=
"WIN32;NDEBUG;_LIB;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;MYSQL_SERVER;HAVE_INNOBASE_DB;DBUG_OFF;USE_TLS;__WIN__"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
...
VC++Files/mysqlserver/mysqlserver.vcproj
View file @
5e56a6bc
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<Tool
<Tool
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
AdditionalIncludeDirectories=
"../include,../regex,../sql,../bdb/build_win32,libmysqld"
AdditionalIncludeDirectories=
"../include,../regex,../sql,../
storage/
bdb/build_win32,libmysqld"
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB;HAVE_BERKELEY_DB;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;USE_TLS"
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB;HAVE_BERKELEY_DB;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;USE_TLS"
BasicRuntimeChecks=
"3"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
AdditionalIncludeDirectories=
"../include,../regex,../sql,../bdb/build_win32,../libmysqld"
AdditionalIncludeDirectories=
"../include,../regex,../sql,../
storage/
bdb/build_win32,../libmysqld"
PreprocessorDefinitions=
"WIN32;NDEBUG;_LIB;HAVE_BERKELEY_DB;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;DBUG_OFF;USE_TLS"
PreprocessorDefinitions=
"WIN32;NDEBUG;_LIB;HAVE_BERKELEY_DB;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;HAVE_INNOBASE_DB;DBUG_OFF;USE_TLS"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
...
VC++Files/sql/mysqld.vcproj
View file @
5e56a6bc
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
AdditionalIncludeDirectories=
"../
storage/
bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;USE_SYMDIR;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
PreprocessorDefinitions=
"NDEBUG;DBUG_OFF;USE_SYMDIR;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
Optimization=
"2"
Optimization=
"2"
InlineFunctionExpansion=
"1"
InlineFunctionExpansion=
"1"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
AdditionalIncludeDirectories=
"../
storage/
bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
PreprocessorDefinitions=
"NDEBUG;__NT__;DBUG_OFF;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
PreprocessorDefinitions=
"NDEBUG;__NT__;DBUG_OFF;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
StringPooling=
"TRUE"
StringPooling=
"TRUE"
RuntimeLibrary=
"0"
RuntimeLibrary=
"0"
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
Name=
"VCCLCompilerTool"
Name=
"VCCLCompilerTool"
Optimization=
"0"
Optimization=
"0"
OptimizeForProcessor=
"2"
OptimizeForProcessor=
"2"
AdditionalIncludeDirectories=
"../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
AdditionalIncludeDirectories=
"../
storage/
bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
PreprocessorDefinitions=
"_DEBUG;SAFEMALLOC;SAFE_MUTEX;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
RuntimeLibrary=
"1"
RuntimeLibrary=
"1"
PrecompiledHeaderFile=
".\debug/mysqld.pch"
PrecompiledHeaderFile=
".\debug/mysqld.pch"
...
@@ -3745,7 +3745,7 @@
...
@@ -3745,7 +3745,7 @@
</FileConfiguration>
</FileConfiguration>
</File>
</File>
<File
<File
RelativePath=
"..\myisammrg\myrg_rnext_same.c"
>
RelativePath=
"..\
storage\
myisammrg\myrg_rnext_same.c"
>
<FileConfiguration
<FileConfiguration
Name=
"classic nt|Win32"
>
Name=
"classic nt|Win32"
>
<Tool
<Tool
...
...
sql/examples/ha_example.cc
View file @
5e56a6bc
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
#include "ha_example.h"
#include "ha_example.h"
static
handler
*
example_create_handler
(
TABLE
*
table
);
static
handler
*
example_create_handler
(
TABLE
_SHARE
*
table
);
handlerton
example_hton
=
{
handlerton
example_hton
=
{
"EXAMPLE"
,
"EXAMPLE"
,
...
@@ -213,7 +213,7 @@ static int free_share(EXAMPLE_SHARE *share)
...
@@ -213,7 +213,7 @@ static int free_share(EXAMPLE_SHARE *share)
}
}
static
handler
*
example_create_handler
(
TABLE
*
table
)
static
handler
*
example_create_handler
(
TABLE
_SHARE
*
table
)
{
{
return
new
ha_example
(
table
);
return
new
ha_example
(
table
);
}
}
...
...
sql/table.cc
View file @
5e56a6bc
...
@@ -539,17 +539,28 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
...
@@ -539,17 +539,28 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
}
}
if
(
next_chunk
+
4
<
buff_end
)
if
(
next_chunk
+
4
<
buff_end
)
{
{
if
((
share
->
partition_info_len
=
uint4korr
(
next_chunk
)))
uint32
partition_info_len
=
uint4korr
(
next_chunk
);
#ifdef WITH_PARTITION_STORAGE_ENGINE
if
((
share
->
partition_info_len
=
partition_info_len
))
{
{
if
(
!
(
share
->
partition_info
=
if
(
!
(
share
->
partition_info
=
(
uchar
*
)
memdup_root
(
&
share
->
mem_root
,
next_chunk
+
4
,
(
uchar
*
)
memdup_root
(
&
share
->
mem_root
,
next_chunk
+
4
,
share
->
partition_info_len
+
1
)))
partition_info_len
+
1
)))
{
{
my_free
(
buff
,
MYF
(
0
));
my_free
(
buff
,
MYF
(
0
));
goto
err
;
goto
err
;
}
}
next_chunk
+=
share
->
partition_info_len
+
5
;
next_chunk
++
;
}
#else
if
(
partition_info_len
)
{
DBUG_PRINT
(
"info"
,
(
"WITH_PARTITION_STORAGE_ENGINE is not defined"
));
my_free
(
buff
,
MYF
(
0
));
goto
err
;
}
}
#endif
next_chunk
+=
4
+
partition_info_len
;
}
}
keyinfo
=
share
->
key_info
;
keyinfo
=
share
->
key_info
;
for
(
i
=
0
;
i
<
keys
;
i
++
,
keyinfo
++
)
for
(
i
=
0
;
i
<
keys
;
i
++
,
keyinfo
++
)
...
...
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