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
07ad0429
Commit
07ad0429
authored
Jun 26, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
parents
7eb1afab
02b3d6f1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
24 deletions
+31
-24
.bzrignore
.bzrignore
+1
-0
include/my_global.h
include/my_global.h
+14
-13
libmysql/libmysql.c
libmysql/libmysql.c
+3
-3
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+10
-7
scripts/mysql_create_system_tables.sh
scripts/mysql_create_system_tables.sh
+3
-1
No files found.
.bzrignore
View file @
07ad0429
...
@@ -791,3 +791,4 @@ sql/my_time.c
...
@@ -791,3 +791,4 @@ sql/my_time.c
libmysql/my_time.c
libmysql/my_time.c
libmysqld/my_time.c
libmysqld/my_time.c
sql/mysql_tzinfo_to_sql
sql/mysql_tzinfo_to_sql
sql/mysql_tzinfo_to_sql.cc
include/my_global.h
View file @
07ad0429
...
@@ -1076,13 +1076,14 @@ do { doubleget_union _tmp; \
...
@@ -1076,13 +1076,14 @@ do { doubleget_union _tmp; \
#if defined(__FLOAT_WORD_ORDER) && (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#if defined(__FLOAT_WORD_ORDER) && (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#define doublestore(T,V) do { *(T)= ((byte *) &V)[4];\
#define doublestore(T,V) do { *(T)= ((byte *) &V)[4];\
*((T)+1)=(char) ((byte *) &V)[5];\
*(((char*)T)+1)=(char) ((byte *) &V)[5];\
*((T)+2)=(char) ((byte *) &V)[6];\
*(((char*)T)+2)=(char) ((byte *) &V)[6];\
*((T)+3)=(char) ((byte *) &V)[7];\
*(((char*)T)+3)=(char) ((byte *) &V)[7];\
*((T)+4)=(char) ((byte *) &V)[0];\
*(((char*)T)+4)=(char) ((byte *) &V)[0];\
*((T)+5)=(char) ((byte *) &V)[1];\
*(((char*)T)+5)=(char) ((byte *) &V)[1];\
*((T)+6)=(char) ((byte *) &V)[2];\
*(((char*)T)+6)=(char) ((byte *) &V)[2];\
*((T)+7)=(char) ((byte *) &V)[3]; } while(0)
*(((char*)T)+7)=(char) ((byte *) &V)[3]; }\
while(0)
#define doubleget(V,M) do { double def_temp;\
#define doubleget(V,M) do { double def_temp;\
((byte*) &def_temp)[0]=(M)[4];\
((byte*) &def_temp)[0]=(M)[4];\
((byte*) &def_temp)[1]=(M)[5];\
((byte*) &def_temp)[1]=(M)[5];\
...
@@ -1134,12 +1135,12 @@ do { doubleget_union _tmp; \
...
@@ -1134,12 +1135,12 @@ do { doubleget_union _tmp; \
((byte*) &def_temp)[3]=(M)[3];\
((byte*) &def_temp)[3]=(M)[3];\
(V)=def_temp; } while(0)
(V)=def_temp; } while(0)
#define shortstore(T,A) do { uint def_temp=(uint) (A) ;\
#define shortstore(T,A) do { uint def_temp=(uint) (A) ;\
*(
T
+1)=(char)(def_temp); \
*(
((char*)T)
+1)=(char)(def_temp); \
*(
T
+0)=(char)(def_temp >> 8); } while(0)
*(
((char*)T)
+0)=(char)(def_temp >> 8); } while(0)
#define longstore(T,A) do { *((T)+3)=((A));\
#define longstore(T,A) do { *((
(char*)
T)+3)=((A));\
*((T)+2)=(((A) >> 8));\
*((
(char*)
T)+2)=(((A) >> 8));\
*((T)+1)=(((A) >> 16));\
*((
(char*)
T)+1)=(((A) >> 16));\
*((T)+0)=(((A) >> 24)); } while(0)
*((
(char*)
T)+0)=(((A) >> 24)); } while(0)
#define floatstore(T,V) memcpy_fixed((byte*)(T), (byte*)(&V), sizeof(float))
#define floatstore(T,V) memcpy_fixed((byte*)(T), (byte*)(&V), sizeof(float))
#define doubleget(V,M) memcpy_fixed((byte*) &V,(byte*) (M),sizeof(double))
#define doubleget(V,M) memcpy_fixed((byte*) &V,(byte*) (M),sizeof(double))
...
...
libmysql/libmysql.c
View file @
07ad0429
...
@@ -3122,7 +3122,7 @@ static uint read_binary_date(MYSQL_TIME *tm, uchar **pos)
...
@@ -3122,7 +3122,7 @@ static uint read_binary_date(MYSQL_TIME *tm, uchar **pos)
static
void
send_data_long
(
MYSQL_BIND
*
param
,
MYSQL_FIELD
*
field
,
static
void
send_data_long
(
MYSQL_BIND
*
param
,
MYSQL_FIELD
*
field
,
longlong
value
)
longlong
value
)
{
{
char
*
buffer
=
param
->
buffer
;
char
*
buffer
=
(
char
*
)
param
->
buffer
;
uint
field_is_unsigned
=
(
field
->
flags
&
UNSIGNED_FLAG
);
uint
field_is_unsigned
=
(
field
->
flags
&
UNSIGNED_FLAG
);
switch
(
param
->
buffer_type
)
{
switch
(
param
->
buffer_type
)
{
...
@@ -3178,7 +3178,7 @@ static void send_data_long(MYSQL_BIND *param, MYSQL_FIELD *field,
...
@@ -3178,7 +3178,7 @@ static void send_data_long(MYSQL_BIND *param, MYSQL_FIELD *field,
static
void
send_data_double
(
MYSQL_BIND
*
param
,
double
value
)
static
void
send_data_double
(
MYSQL_BIND
*
param
,
double
value
)
{
{
char
*
buffer
=
param
->
buffer
;
char
*
buffer
=
(
char
*
)
param
->
buffer
;
switch
(
param
->
buffer_type
)
{
switch
(
param
->
buffer_type
)
{
case
MYSQL_TYPE_NULL
:
/* do nothing */
case
MYSQL_TYPE_NULL
:
/* do nothing */
...
@@ -3231,7 +3231,7 @@ static void send_data_double(MYSQL_BIND *param, double value)
...
@@ -3231,7 +3231,7 @@ static void send_data_double(MYSQL_BIND *param, double value)
static
void
send_data_str
(
MYSQL_BIND
*
param
,
char
*
value
,
uint
length
)
static
void
send_data_str
(
MYSQL_BIND
*
param
,
char
*
value
,
uint
length
)
{
{
char
*
buffer
=
param
->
buffer
;
char
*
buffer
=
(
char
*
)
param
->
buffer
;
int
err
=
0
;
int
err
=
0
;
switch
(
param
->
buffer_type
)
{
switch
(
param
->
buffer_type
)
{
...
...
scripts/make_win_src_distribution.sh
View file @
07ad0429
...
@@ -161,13 +161,16 @@ vreplace()
...
@@ -161,13 +161,16 @@ vreplace()
done
done
}
}
for
d
in
4.0.XX-gpl 4.0.XX-pro 4.0.XX-classic
if
test
-d
$BASE
/InstallShield
do
then
cd
$BASE
/InstallShield/
$d
/String
\
Tables/0009-English
for
d
in
4.1.XX-gpl 4.1.XX-pro 4.1.XX-classic
vreplace value.shl
do
cd
../../Setup
\
Files/Compressed
\
Files/Language
\
Independent/OS
\
Independent
cd
$BASE
/InstallShield/
$d
/String
\
Tables/0009-English
vreplace infolist.txt
vreplace value.shl
done
cd
../../Setup
\
Files/Compressed
\
Files/Language
\
Independent/OS
\
Independent
vreplace infolist.txt
done
fi
#
#
# Move all error message files to root directory
# Move all error message files to root directory
...
...
scripts/mysql_create_system_tables.sh
View file @
07ad0429
...
@@ -160,7 +160,9 @@ then
...
@@ -160,7 +160,9 @@ then
INSERT INTO user (host,user) values ('localhost','');"
INSERT INTO user (host,user) values ('localhost','');"
else
else
i_u
=
"
$i_u
i_u
=
"
$i_u
INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
INSERT INTO user VALUES ('%','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);
INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);
INSERT INTO user VALUES ('%','','','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','','','','',0,0,0);"
fi
fi
fi
fi
fi
fi
...
...
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