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
3d5286d7
Commit
3d5286d7
authored
Mar 13, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_lex.cc:
Move all charset recoding to the same place
parent
b4c8ecd8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_lex.cc
sql/sql_lex.cc
+2
-2
No files found.
sql/sql_lex.cc
View file @
3d5286d7
...
@@ -359,8 +359,6 @@ static char *get_text(LEX *lex)
...
@@ -359,8 +359,6 @@ static char *get_text(LEX *lex)
*
to
=
0
;
*
to
=
0
;
lex
->
yytoklen
=
(
uint
)
(
to
-
start
);
lex
->
yytoklen
=
(
uint
)
(
to
-
start
);
}
}
if
(
lex
->
convert_set
)
lex
->
convert_set
->
convert
((
char
*
)
start
,
lex
->
yytoklen
);
return
(
char
*
)
start
;
return
(
char
*
)
start
;
}
}
}
}
...
@@ -849,6 +847,8 @@ int yylex(void *arg, void *yythd)
...
@@ -849,6 +847,8 @@ int yylex(void *arg, void *yythd)
break
;
break
;
}
}
yylval
->
lex_str
.
length
=
lex
->
yytoklen
;
yylval
->
lex_str
.
length
=
lex
->
yytoklen
;
if
(
lex
->
convert_set
)
lex
->
convert_set
->
convert
((
char
*
)
yylval
->
lex_str
.
str
,
lex
->
yytoklen
);
return
(
TEXT_STRING
);
return
(
TEXT_STRING
);
case
STATE_COMMENT
:
// Comment
case
STATE_COMMENT
:
// Comment
...
...
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