aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-10-23 19:49:43 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-11-27 19:51:25 -0500
commitc4f6c86999ec8fe3b610ac269a121c9fa424daf5 (patch)
tree9251611c030c29af99bfa59bda94521c3500ad94 /sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3
parentnix .envrc related (diff)
dlang dub & nix build related, includes dep update
- nix-shell --pure - nix-build - dub build --compiler=ldc2 --build=release --force
Diffstat (limited to 'sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3')
-rw-r--r--sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/.github/workflows/main.yaml4
-rw-r--r--sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/database.d8
-rw-r--r--sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/statement.d12
3 files changed, 12 insertions, 12 deletions
diff --git a/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/.github/workflows/main.yaml b/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/.github/workflows/main.yaml
index 28eaebe..f915693 100644
--- a/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/.github/workflows/main.yaml
+++ b/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/.github/workflows/main.yaml
@@ -58,12 +58,12 @@ jobs:
dub --version
# Build and run the tests
- - name: '[POSIX] Build & test Agora'
+ - name: '[POSIX] Build & test'
if: runner.os != 'Windows'
#continue-on-error: matrix.dc == 'ldc-master' || matrix.dc == 'dmd-master'
run: dub test -c ci
- - name: '[Windows] Build & test Agora'
+ - name: '[Windows] Build & test'
if: runner.os == 'Windows'
#continue-on-error: matrix.dc == 'ldc-master' || matrix.dc == 'dmd-master'
shell: cmd
diff --git a/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/database.d b/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/database.d
index 7aebe63..93a6509 100644
--- a/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/database.d
+++ b/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/database.d
@@ -1184,7 +1184,7 @@ version (_UnlockNotify)
/// Unlocks the handler, state is one of SQLITE_LOCKED or SQLITE_OK
void emit(int res) nothrow
in { assert(res == SQLITE_LOCKED || res == SQLITE_OK); }
- body
+ do
{
try
{
@@ -1208,7 +1208,7 @@ version (_UnlockNotify)
/// Result after wait is finished
@property int result() const
out (result) { assert(result == SQLITE_OK || result == SQLITE_LOCKED); }
- body { return res; }
+ do { return res; }
}
}
else
@@ -1238,7 +1238,7 @@ version (_UnlockNotify)
/// Constructor
this(Duration max = 1000.msecs)
in { assert(max > Duration.zero); }
- body
+ do
{
maxDuration = max;
}
@@ -1271,7 +1271,7 @@ version (_UnlockNotify)
/// Result after wait is finished
@property int result() const
out (result) { assert(result == SQLITE_OK || result == SQLITE_LOCKED); }
- body
+ do
{
return res;
}
diff --git a/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/statement.d b/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/statement.d
index 14fe855..8cf6a38 100644
--- a/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/statement.d
+++ b/sundry/spine_search_cgi/src/ext_depends_cgi/d2sqlite3/source/d2sqlite3/statement.d
@@ -162,7 +162,7 @@ public:
{
assert(index > 0 && index <= p.paramCount, "parameter index out of range");
}
- body
+ do
{
assert(p.handle);
@@ -239,7 +239,7 @@ public:
{
assert(name.length);
}
- body
+ do
{
assert(p.handle);
auto index = sqlite3_bind_parameter_index(p.handle, name.toStringz);
@@ -255,7 +255,7 @@ public:
{
assert(Args.length == this.parameterCount, "parameter count mismatch");
}
- body
+ do
{
foreach (index, _; Args)
bind(index + 1, args[index]);
@@ -342,7 +342,7 @@ public:
static if (__traits(compiles, obj.length))
assert(obj.length == this.parameterCount, "parameter count mismatch");
}
- body
+ do
{
static if (__traits(compiles, { foreach (string k, ref v; obj) {} }))
{
@@ -377,7 +377,7 @@ public:
{
assert(index > 0 && index <= p.paramCount, "parameter index out of range");
}
- body
+ do
{
assert(p.handle);
return sqlite3_bind_parameter_name(p.handle, index).to!string;
@@ -394,7 +394,7 @@ public:
{
assert(name.length);
}
- body
+ do
{
assert(p.handle);
return sqlite3_bind_parameter_index(p.handle, name.toStringz);