Skip to content

Commit 92ffa55

Browse files
schveiguyAbscissa
authored andcommitted
Fix nullable deprecations. Fixes #204.
1 parent fe9bcd8 commit 92ffa55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/mysql/connection.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ public:
11891189
///ditto
11901190
package bool isRegistered(Nullable!PreparedServerInfo info)
11911191
{
1192-
return !info.isNull && !info.queuedForRelease;
1192+
return !info.isNull && !info.get.queuedForRelease;
11931193
}
11941194
}
11951195

source/mysql/pool.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ version(IncludeMySQLPool)
372372
///ditto
373373
package bool isAutoRegistered(Nullable!PreparedInfo info)
374374
{
375-
return info.isNull || !info.queuedForRelease;
375+
return info.isNull || !info.get.queuedForRelease;
376376
}
377377

378378
/// Is the given statement set to be automatically released on all
@@ -389,7 +389,7 @@ version(IncludeMySQLPool)
389389
///ditto
390390
package bool isAutoReleased(Nullable!PreparedInfo info)
391391
{
392-
return info.isNull || info.queuedForRelease;
392+
return info.isNull || info.get.queuedForRelease;
393393
}
394394

395395
/++

0 commit comments

Comments
 (0)