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
3fb423fe
Commit
3fb423fe
authored
Aug 30, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for OS2
parent
f5b700ad
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
Docs/manual.texi
Docs/manual.texi
+1
-1
include/errmsg.h
include/errmsg.h
+4
-1
include/m_string.h
include/m_string.h
+2
-2
os2/MySQL-Sql.icc
os2/MySQL-Sql.icc
+1
-1
sql/mini_client.cc
sql/mini_client.cc
+5
-0
No files found.
Docs/manual.texi
View file @
3fb423fe
...
...
@@ -34159,7 +34159,7 @@ if no @code{PRIMARY KEY} was specified explicitly.)
@findex UNIQUE
@findex PRIMARY KEY
If you add a @code{UNIQUE INDEX} or @code{PRIMARY KEY} to a table, this
is stored before any not @code
[
UNIQUE} index so that MySQL can detect
is stored before any not @code
{
UNIQUE} index so that MySQL can detect
duplicate keys as early as possible.
@findex ORDER BY
include/errmsg.h
View file @
3fb423fe
...
...
@@ -29,8 +29,11 @@ extern const char *client_errors[]; /* Error messages */
#define CR_MIN_ERROR 2000
/* For easier client code */
#define CR_MAX_ERROR 2999
#undef ER
#if defined(OS2) && defined( MYSQL_SERVER)
#define CER(X) client_errors[(X)-CR_MIN_ERROR]
#else
#define ER(X) client_errors[(X)-CR_MIN_ERROR]
#endif
#define CLIENT_ERRMAP 2
/* Errormap used by my_error() */
#define CR_UNKNOWN_ERROR 2000
...
...
include/m_string.h
View file @
3fb423fe
...
...
@@ -82,7 +82,7 @@
# define bmove_allign(A,B,C) memcpy((A),(B),(C))
#endif
#if
def __cplusplus
#if
defined(__cplusplus) && !defined(OS2)
extern
"C"
{
#endif
...
...
@@ -238,7 +238,7 @@ extern ulonglong strtoull(const char *str, char **ptr, int base);
#endif
#endif
#if
def __cplusplus
#if
defined(__cplusplus) && !defined(OS2)
}
#endif
#endif
os2/MySQL-Sql.icc
View file @
3fb423fe
...
...
@@ -81,7 +81,7 @@ option ProjectOptions = MySQLOptions
// target source files
source "rint.obj"
source zlib, ufc, regex
source zlib, ufc, regex
, 'strings\bmove_upp.c'
if debug_build {
source type('cpp') dbug
}
...
...
sql/mini_client.cc
View file @
3fb423fe
...
...
@@ -52,6 +52,11 @@ inline int local_thr_alarm(my_bool *A,int B __attribute__((unused)),ALARM *C __a
#include "errmsg.h"
#include <violite.h>
#if defined( OS2) && defined( MYSQL_SERVER)
#undef ER
#define ER CER
#endif
extern
ulong
net_read_timeout
;
extern
"C"
{
// Because of SCO 3.2V4.2
...
...
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