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
92d72ea5
Commit
92d72ea5
authored
Jan 09, 2013
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The library interface fixed.
parent
655e3045
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
include/ma_dyncol.h
include/ma_dyncol.h
+10
-8
No files found.
include/ma_dyncol.h
View file @
92d72ea5
...
...
@@ -81,7 +81,7 @@ struct st_dynamic_column_value
unsigned
long
long
ulong_value
;
double
double_value
;
struct
{
LEX_STRING
value
;
MYSQL_
LEX_STRING
value
;
CHARSET_INFO
*
charset
;
}
string
;
struct
{
...
...
@@ -136,7 +136,7 @@ mariadb_dyncol_create_many(DYNAMIC_COLUMN *str,
enum
enum_dyncol_func_result
mariadb_dyncol_create_many_named
(
DYNAMIC_COLUMN
*
str
,
uint
column_count
,
LEX_STRING
*
column_keys
,
MYSQL_
LEX_STRING
*
column_keys
,
DYNAMIC_COLUMN_VALUE
*
values
,
my_bool
new_string
);
...
...
@@ -149,20 +149,21 @@ mariadb_dyncol_update_many(DYNAMIC_COLUMN *str,
enum
enum_dyncol_func_result
mariadb_dyncol_update_many_named
(
DYNAMIC_COLUMN
*
str
,
uint
add_column_count
,
LEX_STRING
*
column_keys
,
MYSQL_
LEX_STRING
*
column_keys
,
DYNAMIC_COLUMN_VALUE
*
values
);
enum
enum_dyncol_func_result
mariadb_dyncol_exists
(
DYNAMIC_COLUMN
*
org
,
uint
column_nr
);
enum
enum_dyncol_func_result
mariadb_dyncol_exists_named
(
DYNAMIC_COLUMN
*
str
,
LEX_STRING
*
name
);
mariadb_dyncol_exists_named
(
DYNAMIC_COLUMN
*
str
,
MYSQL_
LEX_STRING
*
name
);
/* List of not NULL columns */
enum
enum_dyncol_func_result
mariadb_dyncol_list
(
DYNAMIC_COLUMN
*
str
,
uint
*
count
,
uint
**
nums
);
enum
enum_dyncol_func_result
mariadb_dyncol_list_named
(
DYNAMIC_COLUMN
*
str
,
uint
*
count
,
LEX_STRING
**
names
);
mariadb_dyncol_list_named
(
DYNAMIC_COLUMN
*
str
,
uint
*
count
,
MYSQL_LEX_STRING
**
names
);
/*
if the column do not exists it is NULL
...
...
@@ -171,7 +172,7 @@ enum enum_dyncol_func_result
mariadb_dyncol_get
(
DYNAMIC_COLUMN
*
org
,
uint
column_nr
,
DYNAMIC_COLUMN_VALUE
*
store_it_here
);
enum
enum_dyncol_func_result
mariadb_dyncol_get_named
(
DYNAMIC_COLUMN
*
str
,
LEX_STRING
*
name
,
mariadb_dyncol_get_named
(
DYNAMIC_COLUMN
*
str
,
MYSQL_
LEX_STRING
*
name
,
DYNAMIC_COLUMN_VALUE
*
store_it_here
);
my_bool
mariadb_dyncol_has_names
(
DYNAMIC_COLUMN
*
str
);
...
...
@@ -198,9 +199,10 @@ mariadb_dyncol_val_double(double *dbl, DYNAMIC_COLUMN_VALUE *val);
enum
enum_dyncol_func_result
mariadb_dyncol_unpack
(
DYNAMIC_COLUMN
*
str
,
uint
*
count
,
LEX_STRING
**
names
,
DYNAMIC_COLUMN_VALUE
**
vals
);
MYSQL_
LEX_STRING
**
names
,
DYNAMIC_COLUMN_VALUE
**
vals
);
int
mariadb_dyncol_column_cmp_named
(
const
LEX_STRING
*
s1
,
const
LEX_STRING
*
s2
);
int
mariadb_dyncol_column_cmp_named
(
const
MYSQL_LEX_STRING
*
s1
,
const
MYSQL_LEX_STRING
*
s2
);
enum
enum_dyncol_func_result
mariadb_dyncol_column_count
(
DYNAMIC_COLUMN
*
str
,
uint
*
column_count
);
...
...
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