mirror of
https://github.com/actiontech/dble.git
synced 2026-01-28 08:18:50 -06:00
ATK-1382
This commit is contained in:
@@ -111,11 +111,10 @@ public final class MySQLcom {
|
||||
* @return
|
||||
*/
|
||||
public static BigInteger myStrtoll10(char[] cs, int start, int end, BoolPtr error) {
|
||||
String tmp = new String(cs, start, end - start + 1);
|
||||
String tmp = new String(cs, start, end - start);
|
||||
error.set(false);
|
||||
try {
|
||||
BigInteger bi = new BigInteger(tmp);
|
||||
return bi;
|
||||
return new BigInteger(tmp);
|
||||
} catch (Exception e) {
|
||||
error.set(true);
|
||||
return BigInteger.ZERO;
|
||||
|
||||
Reference in New Issue
Block a user