Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
6dc49f32
Commit
6dc49f32
authored
Dec 01, 2017
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few warnings
parent
414bbca0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/database/postgresql_statement.hpp
src/database/postgresql_statement.hpp
+4
-3
No files found.
src/database/postgresql_statement.hpp
View file @
6dc49f32
...
...
@@ -73,12 +73,12 @@ class PostgresqlStatement: public Statement
this
->
params
.
push_back
(
data
);
return
true
;
}
bool
bind_int64
(
const
int
pos
,
const
std
::
int64_t
value
)
override
bool
bind_int64
(
const
int
,
const
std
::
int64_t
value
)
override
{
this
->
params
.
push_back
(
std
::
to_string
(
value
));
return
true
;
}
bool
bind_null
(
const
int
pos
)
override
bool
bind_null
(
const
int
)
override
{
this
->
params
.
push_back
(
"NULL"
);
return
true
;
...
...
@@ -99,8 +99,9 @@ private:
}
log_debug
(
"body: "
,
body
);
const
int
param_size
=
static_cast
<
int
>
(
this
->
params
.
size
());
this
->
result
=
PQexecParams
(
this
->
conn
,
this
->
body
.
data
(),
this
->
params
.
size
()
,
param_size
,
nullptr
,
params
.
data
(),
nullptr
,
...
...
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