Skip to content

Commit

Permalink
mv
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 31, 2024
1 parent e818c97 commit 11602fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/diskquota_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ diskquota_resume(PG_FUNCTION_ARGS)
static bool
is_database_empty(void)
{
int ret;
TupleDesc tupdesc;
bool is_empty = false;

Expand All @@ -479,7 +478,7 @@ is_database_empty(void)
*/
bool connected_in_this_function = SPI_connect_if_not_yet();

ret = SPI_execute(
int ret = SPI_execute(
"INSERT INTO diskquota.state SELECT (count(relname) = 0)::int "
"FROM "
" pg_class AS c, "
Expand Down

0 comments on commit 11602fd

Please sign in to comment.