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
d69b5c4d
Commit
d69b5c4d
authored
Apr 28, 2003
by
hf@deer.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCRUM
Protocol_cursor task net_field_length definitions trimmed with Monty's suggestions
parent
ca027147
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
+14
-5
.bzrignore
.bzrignore
+1
-0
include/my_global.h
include/my_global.h
+9
-0
include/mysql.h
include/mysql.h
+2
-4
include/mysql_com.h
include/mysql_com.h
+1
-0
sql/mini_client.cc
sql/mini_client.cc
+1
-1
No files found.
.bzrignore
View file @
d69b5c4d
...
...
@@ -605,3 +605,4 @@ vio/viotest-ssl
myisam/ftbench/var/*
myisam/ftbench/data
myisam/ftbench/t
sql/pack.c
include/my_global.h
View file @
d69b5c4d
...
...
@@ -721,6 +721,15 @@ typedef long longlong;
#endif
#endif
#if defined(NO_CLIENT_LONG_LONG)
typedef
unsigned
long
my_ulonglong
;
#elif defined (__WIN__)
typedef
unsigned
__int64
my_ulonglong
;
#else
typedef
unsigned
long
long
my_ulonglong
;
#endif
#ifdef USE_RAID
/*
The following is done with a if to not get problems with pre-processors
...
...
include/mysql.h
View file @
d69b5c4d
...
...
@@ -101,6 +101,7 @@ typedef struct st_mysql_field {
typedef
char
**
MYSQL_ROW
;
/* return data as array of strings */
typedef
unsigned
int
MYSQL_FIELD_OFFSET
;
/* offset to current field */
#ifndef _global_h
#if defined(NO_CLIENT_LONG_LONG)
typedef
unsigned
long
my_ulonglong
;
#elif defined (__WIN__)
...
...
@@ -108,6 +109,7 @@ typedef unsigned __int64 my_ulonglong;
#else
typedef
unsigned
long
long
my_ulonglong
;
#endif
#endif
#define MYSQL_COUNT_ERROR (~(my_ulonglong) 0)
...
...
@@ -597,10 +599,6 @@ simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
unsigned
long
net_safe_read
(
MYSQL
*
mysql
);
void
mysql_once_init
(
void
);
#ifdef _global_h
my_ulonglong
net_field_length_ll
(
uchar
**
packet
);
#endif
#ifdef __NETWARE__
#pragma pack(pop)
/* restore alignment */
#endif
...
...
include/mysql_com.h
View file @
d69b5c4d
...
...
@@ -332,6 +332,7 @@ void my_thread_end(void);
#ifdef _global_h
ulong
STDCALL
net_field_length
(
uchar
**
packet
);
my_ulonglong
net_field_length_ll
(
uchar
**
packet
);
#endif
#ifdef __cplusplus
...
...
sql/mini_client.cc
View file @
d69b5c4d
...
...
@@ -1303,7 +1303,7 @@ static int mc_read_one_row(MYSQL *mysql,uint fields,MYSQL_ROW row,
}
if
(
prev_pos
)
*
prev_pos
=
0
;
/* Terminate prev field */
prev_pos
=
(
uchar
*
)
pos
;
prev_pos
=
pos
;
}
row
[
field
]
=
(
char
*
)
prev_pos
+
1
;
/* End of last field */
*
prev_pos
=
0
;
/* Terminate last field */
...
...
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