Skip to content

Commit 7a12014

Browse files
committed
wl#9819 Version 2. Patch #8: map set_service_uri() for ndbjtie
1 parent 3d2d9fd commit 7a12014

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

storage/ndb/src/ndbjtie/NdbApiWrapper.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -3521,10 +3521,10 @@ struct NdbApiWrapper {
35213521
}
35223522

35233523
static void
3524-
Ndb_cluster_connection__set_application_address
3525-
( Ndb_cluster_connection & obj, const char * p0, int p1)
3524+
Ndb_cluster_connection__set_service_uri
3525+
( Ndb_cluster_connection & obj, const char * p0, const char * p1, int p2, const char * p3)
35263526
{
3527-
obj.set_application_address(p0, p1);
3527+
obj.set_service_uri(p0, p1, p2, p3);
35283528
}
35293529

35303530
static int

storage/ndb/src/ndbjtie/ndbapi_jtie.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
33

44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -10204,17 +10204,17 @@ Java_com_mysql_ndbjtie_ndbapi_Ndb_1cluster_1connection_set_1name(JNIEnv * env, j
1020410204

1020510205
/*
1020610206
* Class: com_mysql_ndbjtie_ndbapi_Ndb_cluster_connection
10207-
* Method: set_application_port
10208-
* Signature: (I)V
10207+
* Method: set_service_uri
10208+
* Signature:
1020910209
*/
1021010210
JNIEXPORT void JNICALL
10211-
Java_com_mysql_ndbjtie_ndbapi_Ndb_1cluster_1connection_set_1application_1address(JNIEnv * env, jobject obj, jstring p0, jint p1)
10211+
Java_com_mysql_ndbjtie_ndbapi_Ndb_1cluster_1connection_set_1service_1uri(JNIEnv * env, jobject obj, jstring p0, jstring p1, jint p2, jstring p3)
1021210212
{
10213-
TRACE("void Java_com_mysql_ndbjtie_ndbapi_Ndb_1cluster_1connection_set_1application_1port(JNIEnv *, jobject, jstring, jint)");
10213+
TRACE("void Java_com_mysql_ndbjtie_ndbapi_Ndb_1cluster_1connection_set_1service_1uri(JNIEnv *, jobject, jstring, jstring, jint, jstring)");
1021410214
#ifndef NDBJTIE_USE_WRAPPED_VARIANT_FOR_FUNCTION
10215-
gcall_mfv< ttrait_c_m_n_n_Ndb_cluster_connection_t, ttrait_char_cp_jutf8null, ttrait_int, &Ndb_cluster_connection::set_application_address >(env, obj, p0, p1);
10215+
gcall_mfv< ttrait_c_m_n_n_Ndb_cluster_connection_t, ttrait_char_cp_jutf8null, ttrait_char_cp_jutf8null, ttrait_int, ttrait_char_cp_jutf8null, &Ndb_cluster_connection::set_service_uri >(env, obj, p0, p1, p2, p3);
1021610216
#else
10217-
gcall_fv< ttrait_c_m_n_n_Ndb_cluster_connection_r, ttrait_char_cp_jutf8null, ttrait_int, &NdbApiWrapper::Ndb_cluster_connection__set_application_address >(env, NULL, obj, p0, p1);
10217+
gcall_fv< ttrait_c_m_n_n_Ndb_cluster_connection_r, ttrait_char_cp_jutf8null, ttrait_char_cp_jutf8null, ttrait_int, ttrait_char_cp_jutf8null, &NdbApiWrapper::Ndb_cluster_connection__set_service_uri >(env, NULL, obj, p0, p1, p2, p3);
1021810218
#endif // NDBJTIE_USE_WRAPPED_VARIANT_FOR_FUNCTION
1021910219
}
1022010220

0 commit comments

Comments
 (0)