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
88576b3a
Commit
88576b3a
authored
Feb 23, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge tracking branch 'connect/10.1' into 10.1
parents
a5679af1
69042ffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
storage/connect/tabodbc.cpp
storage/connect/tabodbc.cpp
+12
-10
No files found.
storage/connect/tabodbc.cpp
View file @
88576b3a
...
...
@@ -912,19 +912,21 @@ bool TDBODBC::OpenDB(PGLOBAL g)
if
((
n
=
Ocp
->
GetResultSize
(
Query
->
GetStr
(),
Cnp
))
<
0
)
{
strcpy
(
g
->
Message
,
"Cannot get result size"
);
return
true
;
}
// endif n
}
else
if
(
n
)
{
Ocp
->
m_Rows
=
n
;
Ocp
->
m_Rows
=
n
;
if
((
Qrp
=
Ocp
->
AllocateResult
(
g
)))
Memory
=
2
;
// Must be filled
else
{
strcpy
(
g
->
Message
,
"Result set memory allocation failed"
);
return
true
;
}
// endif n
if
((
Qrp
=
Ocp
->
AllocateResult
(
g
)))
Memory
=
2
;
// Must be filled
else
{
strcpy
(
g
->
Message
,
"Result set memory allocation failed"
);
return
true
;
}
// endif n
}
else
// Void result
Memory
=
0
;
Ocp
->
m_Rows
=
0
;
}
else
Ocp
->
m_Rows
=
0
;
}
else
return
true
;
}
// endif Memory
...
...
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