Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
27facac3
Commit
27facac3
authored
Nov 02, 2017
by
Vinogradov Aleksei
Committed by
Pavel Vainerman
Nov 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBInterface: minor fix in method name
parent
e8a85aa7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
PostgreSQLInterface.cc
extensions/DBServer-PostgreSQL/PostgreSQLInterface.cc
+1
-1
PostgreSQLInterface.h
extensions/DBServer-PostgreSQL/PostgreSQLInterface.h
+1
-1
DBInterface.h
include/DBInterface.h
+1
-1
No files found.
extensions/DBServer-PostgreSQL/PostgreSQLInterface.cc
View file @
27facac3
...
...
@@ -193,7 +193,7 @@ DBResult PostgreSQLInterface::query( const string& q )
return
DBResult
();
}
// -----------------------------------------------------------------------------------------
void
PostgreSQLInterface
::
cancel
()
void
PostgreSQLInterface
::
cancel
_query
()
{
if
(
!
db
)
return
;
...
...
extensions/DBServer-PostgreSQL/PostgreSQLInterface.h
View file @
27facac3
...
...
@@ -45,7 +45,7 @@ namespace uniset
virtual
bool
ping
()
const
override
;
virtual
DBResult
query
(
const
std
::
string
&
q
)
override
;
virtual
void
cancel
()
override
;
virtual
void
cancel
_query
()
override
;
virtual
const
std
::
string
lastQuery
()
override
;
virtual
bool
insert
(
const
std
::
string
&
q
)
override
;
...
...
include/DBInterface.h
View file @
27facac3
...
...
@@ -26,7 +26,7 @@ namespace uniset
virtual
bool
ping
()
const
=
0
;
// проверка доступности БД
virtual
DBResult
query
(
const
std
::
string
&
q
)
=
0
;
virtual
void
cancel
(){};
// попытка отменить текущий запрос
virtual
void
cancel
_query
(){};
// попытка отменить текущий запрос
virtual
const
std
::
string
lastQuery
()
=
0
;
virtual
bool
insert
(
const
std
::
string
&
q
)
=
0
;
virtual
double
insert_id
()
=
0
;
...
...
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