Skip to content

Commit 9e3cee5

Browse files
committed
CCBC-1596: Do not use public lcb_n1x_list which is deprecated
src/n1ql/ixmgmt.cc:729:12: warning: 'lcb_n1x_list' is deprecated [-Wdeprecated-declarations] return lcb_n1x_list(m_instance, this, &cmd); ^ include/libcouchbase/ixmgmt.h:180:1: note: 'lcb_n1x_list' has been explicitly marked deprecated here LCB_DEPRECATED2(LIBCOUCHBASE_API lcb_STATUS lcb_n1x_list(lcb_INSTANCE *instance, const void *cookie, ^ include/libcouchbase/sysdefs.h:90:36: note: expanded from macro 'LCB_DEPRECATED2' ^ include/libcouchbase/sysdefs.h:86:44: note: expanded from macro 'LCB_DEPRECATED' ^ Change-Id: I685e9a96925c7443dfcc2e9a68f6abecc25a2195 Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/190110 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Brett Lawson <brett19@gmail.com>
1 parent f415e9a commit 9e3cee5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/n1ql/ixmgmt.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,8 @@ lcb_STATUS WatchIndexCtx::do_poll()
726726
cmd.callback = cb_watch_gotlist;
727727
lcb_log(LOGARGS(this, DEBUG), LOGFMT "Will check for index readiness of %lu indexes. %lu completed", LOGID(this),
728728
(unsigned long int)m_defspend.size(), (unsigned long int)m_defsok.size());
729-
return lcb_n1x_list(m_instance, this, &cmd);
729+
730+
return do_index_list(m_instance, this, &cmd, nullptr);
730731
}
731732

732733
LIBCOUCHBASE_API

0 commit comments

Comments
 (0)