Commit d271fbd
committed
MDEV-28224 error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
Fixing a typo in the fix for MDEV-19804, wrong return value in a bool function: < return NULL; > return true; The problem was found because it did not compile on some platforms. Strangley, it did not have visible problems on other platforms, which did not fail to compile, although "return NULL" should compile to "return false" rather than "return true".1 parent 8c169f5 commit d271fbd
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7906 | 7906 | | |
7907 | 7907 | | |
7908 | 7908 | | |
7909 | | - | |
| 7909 | + | |
7910 | 7910 | | |
7911 | 7911 | | |
7912 | 7912 | | |
7913 | | - | |
| 7913 | + | |
7914 | 7914 | | |
7915 | 7915 | | |
7916 | 7916 | | |
7917 | 7917 | | |
7918 | 7918 | | |
7919 | 7919 | | |
7920 | | - | |
| 7920 | + | |
7921 | 7921 | | |
7922 | 7922 | | |
7923 | 7923 | | |
| |||
0 commit comments