@@ -148,7 +148,7 @@ public void bitCountTestError1() {
148148 EnvFactory .getEnv (),
149149 "select time,s2,s3,bit_count(9,64),bit_count(s2,64),bit_count(s2,s3) from bit_count_error_table" ,
150150 "Argument exception, the scalar function num must be representable with the bits specified. 9 cannot be represented with 2 bits." ,
151- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
151+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
152152 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
153153 DATABASE_NAME );
154154 }
@@ -159,7 +159,7 @@ public void bitCountTestError2() {
159159 EnvFactory .getEnv (),
160160 "select time,s2,s3,bit_count(9,1),bit_count(s2,1),bit_count(s2,s3) from bit_count_error_table" ,
161161 "Argument exception, the scalar function bit_count bits must be between 2 and 64." ,
162- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
162+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
163163 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
164164 DATABASE_NAME );
165165 }
@@ -170,15 +170,15 @@ public void bitCountTestWithNonInteger() {
170170 EnvFactory .getEnv (),
171171 "select time, bit_count(s4) from bit_count_error_table" ,
172172 "701: Scalar function bit_count only accepts two arguments and they must be Int32 or Int64 data type." ,
173- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
173+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
174174 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
175175 DATABASE_NAME );
176176
177177 assertTableTestFail (
178178 EnvFactory .getEnv (),
179179 "select time, bit_count(s1,s4) from bit_count_error_table" ,
180180 "701: Scalar function bit_count only accepts two arguments and they must be Int32 or Int64 data type." ,
181- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
181+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
182182 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
183183 DATABASE_NAME );
184184 }
@@ -204,15 +204,15 @@ public void bitwiseAndTestWithNonInteger() {
204204 EnvFactory .getEnv (),
205205 "select time, bitwise_and(s4) from bitwise_and_table" ,
206206 "701: Scalar function bitwise_and only accepts two arguments and they must be Int32 or Int64 data type." ,
207- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
207+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
208208 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
209209 DATABASE_NAME );
210210
211211 assertTableTestFail (
212212 EnvFactory .getEnv (),
213213 "select time, bitwise_and(s1,s4) from bitwise_and_table" ,
214214 "701: Scalar function bitwise_and only accepts two arguments and they must be Int32 or Int64 data type." ,
215- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
215+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
216216 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
217217 DATABASE_NAME );
218218 }
@@ -240,15 +240,15 @@ public void bitwiseNotTestWithNonInteger() {
240240 EnvFactory .getEnv (),
241241 "select time, bitwise_not(s4) from bitwise_not_table" ,
242242 "701: Scalar function bitwise_not only accepts one argument and it must be Int32 or Int64 data type." ,
243- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
243+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
244244 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
245245 DATABASE_NAME );
246246
247247 assertTableTestFail (
248248 EnvFactory .getEnv (),
249249 "select time, bitwise_not(s1,s4) from bitwise_not_table" ,
250250 "701: Scalar function bitwise_not only accepts one argument and it must be Int32 or Int64 data type." ,
251- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
251+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
252252 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
253253 DATABASE_NAME );
254254 }
@@ -274,15 +274,15 @@ public void bitwiseOrTestWithNonInteger() {
274274 EnvFactory .getEnv (),
275275 "select time, bitwise_or(s4) from bitwise_or_table" ,
276276 "701: Scalar function bitwise_or only accepts two arguments and they must be Int32 or Int64 data type." ,
277- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
277+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
278278 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
279279 DATABASE_NAME );
280280
281281 assertTableTestFail (
282282 EnvFactory .getEnv (),
283283 "select time, bitwise_or(s1,s4) from bitwise_or_table" ,
284284 "701: Scalar function bitwise_or only accepts two arguments and they must be Int32 or Int64 data type." ,
285- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
285+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
286286 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
287287 DATABASE_NAME );
288288 }
@@ -308,15 +308,15 @@ public void bitwiseXorTestWithNonInteger() {
308308 EnvFactory .getEnv (),
309309 "select time, bitwise_xor(s4) from bitwise_xor_table" ,
310310 "701: Scalar function bitwise_xor only accepts two arguments and they must be Int32 or Int64 data type." ,
311- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
311+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
312312 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
313313 DATABASE_NAME );
314314
315315 assertTableTestFail (
316316 EnvFactory .getEnv (),
317317 "select time, bitwise_xor(s1,s4) from bitwise_xor_table" ,
318318 "701: Scalar function bitwise_xor only accepts two arguments and they must be Int32 or Int64 data type." ,
319- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
319+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
320320 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
321321 DATABASE_NAME );
322322 }
@@ -347,15 +347,15 @@ public void bitwiseLeftShiftTestWithNonInteger() {
347347 EnvFactory .getEnv (),
348348 "select time, bitwise_left_shift(s4) from bitwise_left_shift_table" ,
349349 "701: Scalar function bitwise_left_shift only accepts two arguments and they must be Int32 or Int64 data type." ,
350- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
350+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
351351 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
352352 DATABASE_NAME );
353353
354354 assertTableTestFail (
355355 EnvFactory .getEnv (),
356356 "select time, bitwise_left_shift(s1,s4) from bitwise_left_shift_table" ,
357357 "701: Scalar function bitwise_left_shift only accepts two arguments and they must be Int32 or Int64 data type." ,
358- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
358+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
359359 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
360360 DATABASE_NAME );
361361 }
@@ -388,15 +388,15 @@ public void bitwiseRightShiftTestWithNonInteger() {
388388 EnvFactory .getEnv (),
389389 "select time, bitwise_right_shift(s4) from bitwise_right_shift_table" ,
390390 "701: Scalar function bitwise_right_shift only accepts two arguments and they must be Int32 or Int64 data type." ,
391- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
391+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
392392 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
393393 DATABASE_NAME );
394394
395395 assertTableTestFail (
396396 EnvFactory .getEnv (),
397397 "select time, bitwise_right_shift(s1,s4) from bitwise_right_shift_table" ,
398398 "701: Scalar function bitwise_right_shift only accepts two arguments and they must be Int32 or Int64 data type." ,
399- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
399+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
400400 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
401401 DATABASE_NAME );
402402 }
@@ -423,15 +423,15 @@ public void bitwiseRightShiftArithmeticTestWithNonInteger() {
423423 EnvFactory .getEnv (),
424424 "select time, bitwise_right_shift_arithmetic(s4) from bitwise_right_shift_arithmetic_table" ,
425425 "701: Scalar function bitwise_right_shift_arithmetic only accepts two arguments and they must be Int32 or Int64 data type." ,
426- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
426+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
427427 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
428428 DATABASE_NAME );
429429
430430 assertTableTestFail (
431431 EnvFactory .getEnv (),
432432 "select time, bitwise_right_shift_arithmetic(s1,s4) from bitwise_right_shift_arithmetic_table" ,
433433 "701: Scalar function bitwise_right_shift_arithmetic only accepts two arguments and they must be Int32 or Int64 data type." ,
434- CommonDescriptor .getInstance ().getConfig ().getAdminName (),
434+ CommonDescriptor .getInstance ().getConfig ().getDefaultAdminName (),
435435 CommonDescriptor .getInstance ().getConfig ().getAdminPassword (),
436436 DATABASE_NAME );
437437 }
0 commit comments