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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
bcf28194
Commit
bcf28194
authored
Nov 02, 2009
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Plain Diff
Automerge.
parents
25a73325
344cd04b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
0 deletions
+34
-0
include/mysql.h
include/mysql.h
+10
-0
include/mysql.h.pp
include/mysql.h.pp
+10
-0
libmysql/libmysql.c
libmysql/libmysql.c
+12
-0
libmysql/libmysql.def
libmysql/libmysql.def
+1
-0
libmysqld/libmysqld.def
libmysqld/libmysqld.def
+1
-0
No files found.
include/mysql.h
View file @
bcf28194
...
@@ -557,6 +557,16 @@ unsigned long STDCALL mysql_real_escape_string(MYSQL *mysql,
...
@@ -557,6 +557,16 @@ unsigned long STDCALL mysql_real_escape_string(MYSQL *mysql,
char
*
to
,
const
char
*
from
,
char
*
to
,
const
char
*
from
,
unsigned
long
length
);
unsigned
long
length
);
void
STDCALL
mysql_debug
(
const
char
*
debug
);
void
STDCALL
mysql_debug
(
const
char
*
debug
);
char
*
STDCALL
mysql_odbc_escape_string
(
MYSQL
*
mysql
,
char
*
to
,
unsigned
long
to_length
,
const
char
*
from
,
unsigned
long
from_length
,
void
*
param
,
char
*
(
*
extend_buffer
)
(
void
*
,
char
*
to
,
unsigned
long
*
length
));
void
STDCALL
myodbc_remove_escape
(
MYSQL
*
mysql
,
char
*
name
);
void
STDCALL
myodbc_remove_escape
(
MYSQL
*
mysql
,
char
*
name
);
unsigned
int
STDCALL
mysql_thread_safe
(
void
);
unsigned
int
STDCALL
mysql_thread_safe
(
void
);
my_bool
STDCALL
mysql_embedded
(
void
);
my_bool
STDCALL
mysql_embedded
(
void
);
...
...
include/mysql.h.pp
View file @
bcf28194
...
@@ -518,6 +518,16 @@ unsigned long mysql_real_escape_string(MYSQL *mysql,
...
@@ -518,6 +518,16 @@ unsigned long mysql_real_escape_string(MYSQL *mysql,
char
*
to
,
const
char
*
from
,
char
*
to
,
const
char
*
from
,
unsigned
long
length
);
unsigned
long
length
);
void
mysql_debug
(
const
char
*
debug
);
void
mysql_debug
(
const
char
*
debug
);
char
*
mysql_odbc_escape_string
(
MYSQL
*
mysql
,
char
*
to
,
unsigned
long
to_length
,
const
char
*
from
,
unsigned
long
from_length
,
void
*
param
,
char
*
(
*
extend_buffer
)
(
void
*
,
char
*
to
,
unsigned
long
*
length
));
void
myodbc_remove_escape
(
MYSQL
*
mysql
,
char
*
name
);
void
myodbc_remove_escape
(
MYSQL
*
mysql
,
char
*
name
);
unsigned
int
mysql_thread_safe
(
void
);
unsigned
int
mysql_thread_safe
(
void
);
my_bool
mysql_embedded
(
void
);
my_bool
mysql_embedded
(
void
);
...
...
libmysql/libmysql.c
View file @
bcf28194
...
@@ -1629,6 +1629,18 @@ mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
...
@@ -1629,6 +1629,18 @@ mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
return
(
uint
)
escape_string_for_mysql
(
mysql
->
charset
,
to
,
0
,
from
,
length
);
return
(
uint
)
escape_string_for_mysql
(
mysql
->
charset
,
to
,
0
,
from
,
length
);
}
}
char
*
STDCALL
mysql_odbc_escape_string
(
MYSQL
*
mysql
,
char
*
to
,
ulong
to_length
,
const
char
*
from
,
ulong
from_length
,
void
*
param
,
char
*
(
*
extend_buffer
)
(
void
*
,
char
*
,
ulong
*
))
{
return
NULL
;
}
void
STDCALL
void
STDCALL
myodbc_remove_escape
(
MYSQL
*
mysql
,
char
*
name
)
myodbc_remove_escape
(
MYSQL
*
mysql
,
char
*
name
)
{
{
...
...
libmysql/libmysql.def
View file @
bcf28194
...
@@ -78,6 +78,7 @@ EXPORTS
...
@@ -78,6 +78,7 @@ EXPORTS
mysql_next_result
mysql_next_result
mysql_num_fields
mysql_num_fields
mysql_num_rows
mysql_num_rows
mysql_odbc_escape_string
mysql_options
mysql_options
mysql_stmt_param_count
mysql_stmt_param_count
mysql_stmt_param_metadata
mysql_stmt_param_metadata
...
...
libmysqld/libmysqld.def
View file @
bcf28194
...
@@ -50,6 +50,7 @@ EXPORTS
...
@@ -50,6 +50,7 @@ EXPORTS
mysql_next_result
mysql_next_result
mysql_num_fields
mysql_num_fields
mysql_num_rows
mysql_num_rows
mysql_odbc_escape_string
mysql_options
mysql_options
mysql_ping
mysql_ping
mysql_query
mysql_query
...
...
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