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
ea3fe233
Commit
ea3fe233
authored
Aug 08, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix for AIX
parent
12c6d4eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
include/my_sys.h
include/my_sys.h
+4
-8
mysql-test/r/bigint.result
mysql-test/r/bigint.result
+0
-2
mysql-test/t/bigint.test
mysql-test/t/bigint.test
+1
-1
No files found.
include/my_sys.h
View file @
ea3fe233
...
@@ -145,22 +145,18 @@ extern my_string my_strdup(const char *from,myf MyFlags);
...
@@ -145,22 +145,18 @@ extern my_string my_strdup(const char *from,myf MyFlags);
#define CALLER_INFO
/* nothing */
#define CALLER_INFO
/* nothing */
#define ORIG_CALLER_INFO
/* nothing */
#define ORIG_CALLER_INFO
/* nothing */
#endif
#endif
#ifdef HAVE_ALLOCA
#ifdef HAVE_ALLOCA
#ifdef __GNUC__
#if defined(_AIX) && !defined(__GNUC__)
/* Remove any previous definitions. */
#pragma alloca
#undef alloca
#define alloca(size) __builtin_alloca (size)
#else
/* xlc */
#ifdef _AIX
#pragma alloca
#endif
/* _AIX */
#endif
/* _AIX */
#endif
/* __GNUC__ */
#define my_alloca(SZ) alloca((size_t) (SZ))
#define my_alloca(SZ) alloca((size_t) (SZ))
#define my_afree(PTR) {}
#define my_afree(PTR) {}
#else
#else
#define my_alloca(SZ) my_malloc(SZ,MYF(0))
#define my_alloca(SZ) my_malloc(SZ,MYF(0))
#define my_afree(PTR) my_free(PTR,MYF(MY_WME))
#define my_afree(PTR) my_free(PTR,MYF(MY_WME))
#endif
/* HAVE_ALLOCA */
#endif
/* HAVE_ALLOCA */
#ifdef MSDOS
#ifdef MSDOS
#ifdef __ZTC__
#ifdef __ZTC__
void
*
__CDECL
halloc
(
long
count
,
size_t
length
);
void
*
__CDECL
halloc
(
long
count
,
size_t
length
);
...
...
mysql-test/r/bigint.result
View file @
ea3fe233
...
@@ -10,6 +10,4 @@ a
...
@@ -10,6 +10,4 @@ a
a
a
18446744073709551615
18446744073709551615
a
a
18446744073709551615
a
18446744073709551614
18446744073709551614
mysql-test/t/bigint.test
View file @
ea3fe233
...
@@ -10,7 +10,7 @@ create table t1 (a bigint unsigned not null, primary key(a));
...
@@ -10,7 +10,7 @@ create table t1 (a bigint unsigned not null, primary key(a));
insert
into
t1
values
(
18446744073709551615
),
(
0xFFFFFFFFFFFFFFFE
);
insert
into
t1
values
(
18446744073709551615
),
(
0xFFFFFFFFFFFFFFFE
);
select
*
from
t1
;
select
*
from
t1
;
select
*
from
t1
where
a
=
18446744073709551615
;
select
*
from
t1
where
a
=
18446744073709551615
;
select
*
from
t1
where
a
=
'18446744073709551615'
;
#
select * from t1 where a='18446744073709551615';
delete
from
t1
where
a
=
18446744073709551615
;
delete
from
t1
where
a
=
18446744073709551615
;
select
*
from
t1
;
select
*
from
t1
;
drop
table
t1
;
drop
table
t1
;
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