dbwrap_ctdb: return correct record count for a persistent db read-only traverse

Signed-off-by: Ralph Boehme <slow@samba.org>
21 jobs for slow-autobuild2 in 294 minutes and 54 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build_ctdb #96778888
docker shared

00:20:27

passed build_others #96778890
docker shared

00:13:43

passed build_samba #96778891
docker private

04:54:51

passed build_samba_ad_dc #96778896
docker private

01:33:44

passed build_samba_ad_dc_2 #96778883
docker shared

00:37:02

passed build_samba_ad_dc_2_py3 #96778884
docker shared

00:25:09

passed build_samba_ad_dc_py3 #96778897
docker private

00:21:01

passed build_samba_ctdb #96778889
docker shared

00:36:20

passed build_samba_fileserver #96778895
docker private

00:20:39

passed build_samba_libs #96778885
docker shared

00:34:55

passed build_samba_libs_py3 #96778886
docker shared

00:34:52

passed build_samba_none_env #96778877
docker shared

00:43:57

passed build_samba_none_env_py3 #96778878
docker shared

00:23:50

passed build_samba_nopython #96778879
docker shared

00:28:31

passed build_samba_nt4 #96778893
docker private

00:54:09

passed build_samba_nt4_py3 #96778894
docker private

00:15:49

passed build_samba_o3 #96778882
docker shared

00:32:51

passed build_samba_py3 #96778892
docker private

00:27:42

passed build_samba_static #96778887
docker shared

00:45:15

passed build_samba_systemkrb5 #96778880
docker shared

00:16:04

passed build_samba_xc #96778881
docker shared

00:06:44