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
b86ba751
Commit
b86ba751
authored
Dec 15, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always use sql/sql_string.* files, never - client/sql_string.*
parent
505a6018
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
8 deletions
+3
-8
client/CMakeLists.txt
client/CMakeLists.txt
+2
-1
client/sql_string.cc.dontuse
client/sql_string.cc.dontuse
+0
-0
client/sql_string.h.dontuse
client/sql_string.h.dontuse
+0
-0
libmysqld/examples/CMakeLists.txt
libmysqld/examples/CMakeLists.txt
+1
-0
sql/sql_string.cc
sql/sql_string.cc
+0
-3
sql/sql_string.h
sql/sql_string.h
+0
-4
No files found.
client/CMakeLists.txt
View file @
b86ba751
...
...
@@ -26,7 +26,8 @@ INCLUDE_DIRECTORIES(
)
ADD_DEFINITIONS
(
${
SSL_DEFINES
}
)
MYSQL_ADD_EXECUTABLE
(
mysql completion_hash.cc mysql.cc readline.cc sql_string.cc
)
MYSQL_ADD_EXECUTABLE
(
mysql completion_hash.cc mysql.cc readline.cc
${
CMAKE_SOURCE_DIR
}
/sql/sql_string.cc
)
TARGET_LINK_LIBRARIES
(
mysql mysqlclient
)
IF
(
UNIX
)
TARGET_LINK_LIBRARIES
(
mysql
${
MY_READLINE_LIBRARY
}
)
...
...
client/sql_string.cc
→
client/sql_string.cc
.dontuse
View file @
b86ba751
File moved
client/sql_string.h
→
client/sql_string.h
.dontuse
View file @
b86ba751
File moved
libmysqld/examples/CMakeLists.txt
View file @
b86ba751
...
...
@@ -16,6 +16,7 @@
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/libmysqld/include
${
CMAKE_SOURCE_DIR
}
/regex
${
CMAKE_SOURCE_DIR
}
/sql
${
MY_READLINE_INCLUDE_DIR
}
)
...
...
sql/sql_string.cc
View file @
b86ba751
...
...
@@ -27,9 +27,6 @@
#include "sql_string.h"
#ifdef MYSQL_CLIENT
#error Attempt to use server-side sql_string on client. Use client/sql_string.cc
#endif
/*****************************************************************************
** String functions
*****************************************************************************/
...
...
sql/sql_string.h
View file @
b86ba751
...
...
@@ -26,10 +26,6 @@
#include "my_sys.h"
/* alloc_root, my_free, my_realloc */
#include "m_string.h"
/* TRASH */
#ifdef MYSQL_CLIENT
#error Attempt to use server-side sql_string on client. Use client/sql_string.h
#endif
class
String
;
typedef
struct
st_io_cache
IO_CACHE
;
typedef
struct
st_mem_root
MEM_ROOT
;
...
...
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