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
25ec27f3
Commit
25ec27f3
authored
Apr 01, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support DATA_VARCHAR for bound literals.
pars_bound_lit_t: Change 'address' from 'void*' to 'const void*'.
parent
727354ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
include/pars0pars.h
include/pars0pars.h
+1
-1
pars/pars0sym.c
pars/pars0sym.c
+5
-0
No files found.
include/pars0pars.h
View file @
25ec27f3
...
...
@@ -488,7 +488,7 @@ struct pars_user_func_struct {
/* Bound literal. */
struct
pars_bound_lit_struct
{
const
char
*
name
;
/* name */
void
*
address
;
/* address */
const
void
*
address
;
/* address */
ulint
length
;
/* length of data */
ulint
type
;
/* type, e.g. DATA_FIXBINARY */
ulint
prtype
;
/* precise type, e.g. DATA_UNSIGNED */
...
...
pars/pars0sym.c
View file @
25ec27f3
...
...
@@ -206,6 +206,11 @@ sym_tab_add_bound_lit(
*
lit_type
=
PARS_BLOB_LIT
;
break
;
case
DATA_VARCHAR
:
len
=
0
;
*
lit_type
=
PARS_STR_LIT
;
break
;
case
DATA_INT
:
ut_a
(
blit
->
length
<=
8
);
len
=
blit
->
length
;
...
...
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