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
cc182aca
Commit
cc182aca
authored
Feb 10, 2023
by
Monty
Committed by
Sergei Petrunia
Feb 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warning in connect/ha_connect.cc
(fp->field_length is always >= 0)
parent
bd2cebb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+1
-4
storage/connect/tabext.cpp
storage/connect/tabext.cpp
+1
-1
No files found.
storage/connect/ha_connect.cc
View file @
cc182aca
...
...
@@ -1614,10 +1614,7 @@ void *ha_connect::GetColumnOption(PGLOBAL g, void *field, PCOLINFO pcf)
pcf
->
Scale
=
0
;
pcf
->
Opt
=
(
fop
)
?
(
int
)
fop
->
opt
:
0
;
if
(
fp
->
field_length
>=
0
)
pcf
->
Length
=
fp
->
field_length
;
else
pcf
->
Length
=
256
;
// BLOB?
pcf
->
Length
=
fp
->
field_length
;
pcf
->
Precision
=
pcf
->
Length
;
...
...
storage/connect/tabext.cpp
View file @
cc182aca
...
...
@@ -466,7 +466,7 @@ bool TDBEXT::MakeSQL(PGLOBAL g, bool cnt)
if
(
Quote
)
{
// Tabname can have both database and table identifiers, we need to parse
if
(
res
=
strstr
(
buf
,
"."
))
if
((
res
=
strstr
(
buf
,
"."
)
))
{
// Parse schema
my_len
=
res
-
buf
+
1
;
...
...
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