Skip to content

Commit 3fdcf7a

Browse files
deokjinkimRafaelGSS
authored andcommitted
src: return undefined if no rows are returned in SQLite
For now, { key: null, value: null} is returned even though no rows are returned from database when `statement.get()` is called. So return empty value if return value of `sqlite3_step` is `SQLITE_DONE`. PR-URL: #53981 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent aa0ac3b commit 3fdcf7a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree