Skip to content

Commit 1749642

Browse files
committed
Implement query options for n1ql
Change-Id: I9145934ed96bc6a80dd14840f25cd2e49e373695 Reviewed-on: http://review.couchbase.org/109902 Tested-by: Build Bot <[email protected]> Reviewed-by: Sergey Avseyev <[email protected]>
1 parent 7238e26 commit 1749642

File tree

8 files changed

+465
-519
lines changed

8 files changed

+465
-519
lines changed

config.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ COUCHBASE_FILES=" \
8888
src/couchbase/mutation_state.c \
8989
src/couchbase/mutation_token.c \
9090
src/couchbase/n1ql_index.c \
91-
src/couchbase/n1ql_query.c \
9291
src/couchbase/password_authenticator.c \
9392
src/couchbase/pool.c \
9493
src/couchbase/result.c \

config.w32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ if (PHP_COUCHBASE != "no") {
4141
"mutation_state.c " +
4242
"mutation_token.c " +
4343
"n1ql_index.c " +
44-
"n1ql_query.c " +
4544
"pool.c " +
4645
"search_index_manager.c " +
4746
"search_query.c ";

couchbase.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ PHP_MINIT_FUNCTION(PasswordAuthenticator);
205205
PHP_MINIT_FUNCTION(MutationToken);
206206
PHP_MINIT_FUNCTION(MutationState);
207207
PHP_MINIT_FUNCTION(AnalyticsQuery);
208-
PHP_MINIT_FUNCTION(N1qlQuery);
209208
PHP_MINIT_FUNCTION(N1qlIndex);
210209
PHP_MINIT_FUNCTION(LookupInSpec);
211210
PHP_MINIT_FUNCTION(MutateInSpec);
@@ -251,7 +250,8 @@ PHP_MINIT_FUNCTION(CollectionTouch);
251250
PHP_MINIT_FUNCTION(CollectionCounter);
252251
PHP_MINIT_FUNCTION(CollectionRemove);
253252
PHP_MINIT_FUNCTION(CollectionSubdoc);
254-
PHP_MINIT_FUNCTION(CollectionView);
253+
PHP_MINIT_FUNCTION(BucketView);
254+
PHP_MINIT_FUNCTION(BucketQuery);
255255

256256

257257
PHP_MINIT_FUNCTION(couchbase)
@@ -285,7 +285,6 @@ PHP_MINIT_FUNCTION(couchbase)
285285
PHP_MINIT(MutationToken)(INIT_FUNC_ARGS_PASSTHRU);
286286
PHP_MINIT(MutationState)(INIT_FUNC_ARGS_PASSTHRU);
287287
PHP_MINIT(AnalyticsQuery)(INIT_FUNC_ARGS_PASSTHRU);
288-
PHP_MINIT(N1qlQuery)(INIT_FUNC_ARGS_PASSTHRU);
289288
PHP_MINIT(N1qlIndex)(INIT_FUNC_ARGS_PASSTHRU);
290289
PHP_MINIT(LookupInSpec)(INIT_FUNC_ARGS_PASSTHRU);
291290
PHP_MINIT(MutateInSpec)(INIT_FUNC_ARGS_PASSTHRU);
@@ -331,7 +330,8 @@ PHP_MINIT_FUNCTION(couchbase)
331330
PHP_MINIT(CollectionCounter)(INIT_FUNC_ARGS_PASSTHRU);
332331
PHP_MINIT(CollectionRemove)(INIT_FUNC_ARGS_PASSTHRU);
333332
PHP_MINIT(CollectionSubdoc)(INIT_FUNC_ARGS_PASSTHRU);
334-
PHP_MINIT(CollectionView)(INIT_FUNC_ARGS_PASSTHRU);
333+
PHP_MINIT(BucketView)(INIT_FUNC_ARGS_PASSTHRU);
334+
PHP_MINIT(BucketQuery)(INIT_FUNC_ARGS_PASSTHRU);
335335

336336
PCBC_REGISTER_CONST(PERSISTTO_MASTER);
337337
PCBC_REGISTER_CONST(PERSISTTO_ONE);

package.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
<file role="src" name="src/couchbase/mutation_state.c" />
108108
<file role="src" name="src/couchbase/mutation_token.c" />
109109
<file role="src" name="src/couchbase/n1ql_index.c" />
110-
<file role="src" name="src/couchbase/n1ql_query.c" />
111110
<file role="src" name="src/couchbase/password_authenticator.c" />
112111
<file role="src" name="src/couchbase/pool.c" />
113112
<file role="src" name="src/couchbase/result.c" />

0 commit comments

Comments
 (0)