]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/dbstore: Fix null ptr reference
authorSoumya Koduri <skoduri@redhat.com>
Mon, 3 Jan 2022 07:26:31 +0000 (12:56 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 13 Jan 2022 11:52:11 +0000 (17:22 +0530)
commit1c2a7884fa9ba53080db1213ddbd5c495cb906c5
tree04b1000ad060774419e83b66f65add09ba69b05b
parent7b5527ba2ba4c94388136b1012d881691d7677d6
rgw/dbstore: Fix null ptr reference

Initialize Object state once and use the same for all its
references. Also fixed a bug in SQLGetLC::prepare()

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_sal_dbstore.cc
src/rgw/rgw_sal_dbstore.h
src/rgw/store/dbstore/sqlite/sqliteDB.cc