Skip to content

Commit

Permalink
minor updates in prep of a release
Browse files Browse the repository at this point in the history
  • Loading branch information
lostbard committed Oct 12, 2022
1 parent 3ee008a commit e03bbe4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Name: sqlite
Version: 0.0.1
Date: 2022-10-6
Date: 2022-10-12
Author: John Donoghue <[email protected]>
Maintainer: John Donoghue <[email protected]>
Title: Octave Sqlite Toolkit
Description: Basic Octave implementation of sqlite toolkit
Categories: Database
Depends: octave (>= 4.0.0)
Depends: octave (>= 6.0.0)
BuildRequires: libsqlite3-dev
SystemRequirements: libsqlite3
License: GPLv3+
Url: https://sourceforge.net/projects/octave-sqlite/
Url: https://github.com/gnu-octave/octave-sqlite/wiki/Octave-SQLITE-Toolkit
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Summary of important user-visible changes for sqlite 0.1.0:
Summary of important user-visible changes for sqlite 0.0.1:
-------------------------------------------------------------------

** Initial release
Expand Down
6 changes: 3 additions & 3 deletions src/__sqlite__.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Private function\n \
if(res)
return m;
else
return octave_value();
return octave_value();
}

// PKG_ADD: autoload ("__sqlite_commit__", "__sqlite__.oct");
Expand Down Expand Up @@ -180,7 +180,7 @@ Private function\n \
octave_value m;
bool res = db->commit();

return octave_value();
return octave_value(res);
}

// PKG_ADD: autoload ("__sqlite_rollback__", "__sqlite__.oct");
Expand Down Expand Up @@ -208,7 +208,7 @@ Private function\n \
octave_value m;
bool res = db->rollback();

return octave_value();
return octave_value(res);
}

#if 0
Expand Down
1 change: 0 additions & 1 deletion src/octave_sqlite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ bool octave_sqlite::execute (const std::string &query)

bool octave_sqlite::fetch (const std::string &query, octave_value &retval)
{
char * err;
sqlite3_stmt *stmt;

int rc = sqlite3_prepare_v2(db, query.c_str(), -1, &stmt, NULL);
Expand Down

0 comments on commit e03bbe4

Please sign in to comment.