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
2356a54c
Commit
2356a54c
authored
Jun 30, 2006
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
parents
3cc6d95d
d76830fa
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
heap/hp_test1.c
heap/hp_test1.c
+2
-1
heap/hp_test2.c
heap/hp_test2.c
+1
-0
include/my_global.h
include/my_global.h
+2
-2
mysql-test/t/func_time.test
mysql-test/t/func_time.test
+0
-2
mysys/my_handler.c
mysys/my_handler.c
+1
-0
strings/strtod.c
strings/strtod.c
+2
-2
No files found.
heap/hp_test1.c
View file @
2356a54c
...
@@ -44,6 +44,7 @@ int main(int argc, char **argv)
...
@@ -44,6 +44,7 @@ int main(int argc, char **argv)
get_options
(
argc
,
argv
);
get_options
(
argc
,
argv
);
bzero
(
&
hp_create_info
,
sizeof
(
hp_create_info
));
bzero
(
&
hp_create_info
,
sizeof
(
hp_create_info
));
hp_create_info
.
max_table_size
=
1024L
*
1024L
;
keyinfo
[
0
].
keysegs
=
1
;
keyinfo
[
0
].
keysegs
=
1
;
keyinfo
[
0
].
seg
=
keyseg
;
keyinfo
[
0
].
seg
=
keyseg
;
...
@@ -58,7 +59,7 @@ int main(int argc, char **argv)
...
@@ -58,7 +59,7 @@ int main(int argc, char **argv)
bzero
((
gptr
)
flags
,
sizeof
(
flags
));
bzero
((
gptr
)
flags
,
sizeof
(
flags
));
printf
(
"- Creating heap-file
\n
"
);
printf
(
"- Creating heap-file
\n
"
);
if
(
heap_create
(
filename
,
1
,
keyinfo
,
30
,(
ulong
)
flag
*
100000
l
,
10l
,
if
(
heap_create
(
filename
,
1
,
keyinfo
,
30
,(
ulong
)
flag
*
100000
L
,
101L
,
&
hp_create_info
)
||
&
hp_create_info
)
||
!
(
file
=
heap_open
(
filename
,
2
)))
!
(
file
=
heap_open
(
filename
,
2
)))
goto
err
;
goto
err
;
...
...
heap/hp_test2.c
View file @
2356a54c
...
@@ -74,6 +74,7 @@ int main(int argc, char *argv[])
...
@@ -74,6 +74,7 @@ int main(int argc, char *argv[])
get_options
(
argc
,
argv
);
get_options
(
argc
,
argv
);
bzero
(
&
hp_create_info
,
sizeof
(
hp_create_info
));
bzero
(
&
hp_create_info
,
sizeof
(
hp_create_info
));
hp_create_info
.
max_table_size
=
1024L
*
1024L
;
write_count
=
update
=
opt_delete
=
0
;
write_count
=
update
=
opt_delete
=
0
;
key_check
=
0
;
key_check
=
0
;
...
...
include/my_global.h
View file @
2356a54c
...
@@ -1071,7 +1071,7 @@ do { doubleget_union _tmp; \
...
@@ -1071,7 +1071,7 @@ do { doubleget_union _tmp; \
#define doublestore(T,V) do { *((long *) T) = ((doubleget_union *)&V)->m[0]; \
#define doublestore(T,V) do { *((long *) T) = ((doubleget_union *)&V)->m[0]; \
*(((long *) T)+1) = ((doubleget_union *)&V)->m[1]; \
*(((long *) T)+1) = ((doubleget_union *)&V)->m[1]; \
} while (0)
} while (0)
#define float4get(V,M)
do { *((long *) &(V)) = *((long
*) (M)); } while(0)
#define float4get(V,M)
do { *((float *) &(V)) = *((float
*) (M)); } while(0)
#define float8get(V,M) doubleget((V),(M))
#define float8get(V,M) doubleget((V),(M))
#define float4store(V,M) memcpy((byte*) V,(byte*) (&M),sizeof(float))
#define float4store(V,M) memcpy((byte*) V,(byte*) (&M),sizeof(float))
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V),sizeof(float))
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V),sizeof(float))
...
...
mysql-test/t/func_time.test
View file @
2356a54c
...
@@ -147,8 +147,6 @@ select extract(MONTH FROM "2001-02-00");
...
@@ -147,8 +147,6 @@ select extract(MONTH FROM "2001-02-00");
#
#
SELECT
DATE_SUB
(
str_to_date
(
'9999-12-31 00:01:00'
,
'%Y-%m-%d %H:%i:%s'
),
INTERVAL
1
MINUTE
);
SELECT
DATE_SUB
(
str_to_date
(
'9999-12-31 00:01:00'
,
'%Y-%m-%d %H:%i:%s'
),
INTERVAL
1
MINUTE
);
SELECT
DATE_ADD
(
str_to_date
(
'9999-12-30 23:59:00'
,
'%Y-%m-%d %H:%i:%s'
),
INTERVAL
1
MINUTE
);
SELECT
DATE_ADD
(
str_to_date
(
'9999-12-30 23:59:00'
,
'%Y-%m-%d %H:%i:%s'
),
INTERVAL
1
MINUTE
);
#
# test EXTRACT QUARTER (Bug #18100)
# test EXTRACT QUARTER (Bug #18100)
#
#
...
...
mysys/my_handler.c
View file @
2356a54c
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA */
MA 02111-1307, USA */
#include <my_global.h>
#include "my_handler.h"
#include "my_handler.h"
int
mi_compare_text
(
CHARSET_INFO
*
charset_info
,
uchar
*
a
,
uint
a_length
,
int
mi_compare_text
(
CHARSET_INFO
*
charset_info
,
uchar
*
a
,
uint
a_length
,
...
...
strings/strtod.c
View file @
2356a54c
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
*/
*/
#include
"my_base.h"
/* Includes errno.h */
#include
<my_global.h>
/* Includes errno.h */
#include
"m_ctype.h"
#include
<m_ctype.h>
#define MAX_DBL_EXP 308
#define MAX_DBL_EXP 308
#define MAX_RESULT_FOR_MAX_EXP 1.79769313486232
#define MAX_RESULT_FOR_MAX_EXP 1.79769313486232
...
...
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