Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
2aa8e5b6
Commit
2aa8e5b6
authored
Nov 26, 2009
by
Srikanth Raju
Committed by
Rémi Denis-Courmont
Nov 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sql: Rollback should return void
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
0b83687b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/vlc_sql.h
include/vlc_sql.h
+2
-2
No files found.
include/vlc_sql.h
View file @
2aa8e5b6
...
...
@@ -110,7 +110,7 @@ struct sql_t
int
(
*
pf_commit
)
(
sql_t
*
);
/** Rollback transaction */
int
(
*
pf_rollback
)
(
sql_t
*
);
void
(
*
pf_rollback
)
(
sql_t
*
);
/** Create a statement object */
sql_stmt_t
*
(
*
pf_prepare
)
(
sql_t
*
p_sql
,
const
char
*
p_fmt
,
...
...
@@ -295,7 +295,7 @@ static inline int sql_CommitTransaction( sql_t *p_sql )
* @return VLC error code or success
* @note This function is threadsafe
**/
static
inline
int
sql_RollbackTransaction
(
sql_t
*
p_sql
)
static
inline
void
sql_RollbackTransaction
(
sql_t
*
p_sql
)
{
return
p_sql
->
pf_rollback
(
p_sql
);
}
...
...
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