public class NumbersRegressionTest extends BaseTestCase
BaseTestCase.MockConnectionConfigurationconn, dbClass, dbName, dbUrl, isOpenSSL, mainConnectionUrl, pstmt, rs, serverVersion, stmt, timeZoneFreeDbUrl| Constructor and Description |
|---|
NumbersRegressionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBigInt()
Tests that BIGINT retrieval works correctly
|
void |
testBug105915()
Tests fix for Bug#105915 (33678490), Connector/J 8 server prepared statement precision loss in execute batch.
|
void |
testBug5729()
Tests fix for BUG#5729, UNSIGNED BIGINT returned incorrectly
|
void |
testBug8484()
Deprecated.
|
void |
testFloatsAndReals()
Tests correct type assignment for MySQL FLOAT and REAL datatypes.
|
void |
testIntShouldReturnLong() |
void |
testPrecisionAndScale()
Tests that ResultSetMetaData precision and scale methods work correctly for all numeric types.
|
private void |
testPrecisionForType(java.lang.String typeName,
int m,
int d,
boolean unsigned) |
appendRequiredProperties, assertByteArrayEquals, assertConnectionsHistory, assertEqualsFSAware, assertNonSecureConnection, assertResultSetLength, assertResultSetsEqual, assertSecureConnection, assertSecureConnection, assertSessionStatusEquals, assertThrows, assertThrows, assertThrows, assertThrows, cleanupTempFiles, createDatabase, createDatabase, createFunction, createFunction, createProcedure, createProcedure, createSchemaObject, createSchemaObject, createTable, createTable, createTable, createTable, createUser, createUser, createView, createView, currentTimeMillis, dropDatabase, dropDatabase, dropFunction, dropFunction, dropProcedure, dropProcedure, dropSchemaObject, dropSchemaObject, dropTable, dropTable, dropUser, dropUser, dropView, dropView, fillPrimitiveDefaults, getConnectionWithProps, getConnectionWithProps, getConnectionWithProps, getConnectionWithProps, getEncodedHostFromTestsuiteUrl, getEncodedHostPortPairFromTestsuiteUrl, getFailoverConnection, getFailoverConnection, getHostFreePropertiesFromTestsuiteUrl, getHostFreePropertiesFromTestsuiteUrl, getHostFromTestsuiteUrl, getInstanceNumber, getLoadBalancedConnection, getLoadBalancedConnection, getLoadBalancedConnection, getMysqlVariable, getMysqlVariable, getNewConnection, getNoDbUrl, getPort, getPortFreeHostname, getPortFromTestsuiteUrl, getPropertiesFromTestsuiteUrl, getPropertiesFromUrl, getRowCount, getSingleIndexedValueWithQuery, getSingleIndexedValueWithQuery, getSingleValue, getSingleValueWithQuery, getSourceReplicaReplicationConnection, getSourceReplicaReplicationConnection, getSourceReplicaUrl, getSourceReplicaUrl, getUnreliableFailoverConnection, getUnreliableFailoverConnection, getUnreliableLoadBalancedConnection, getUnreliableLoadBalancedConnection, getUnreliableMultiHostConnection, getUnreliableReplicationConnection, getUnreliableReplicationConnection, getUnreliableReplicationConnection, isClassAvailable, isCommunityEdition, isEnterpriseEdition, isMysqlRunningLocally, isRunningOnJRockit, isServerRunningOnWindows, isSysPropDefined, logDebug, newTempBinaryFile, randomString, removeHostRelatedProps, removeSqlMode, runLongTests, setUpBase, supportsLoadLocalInfile, supportsTestCachingSha2PasswordKeys, supportsTestCertificates, supportsTestSha256PasswordKeys, supportsTimeZoneNames, supportsTLSv1_2, tearDownBase, versionMeetsMinimum, versionMeetsMinimum@Test
public void testBigInt()
throws java.lang.Exception
java.lang.Exception@Test
public void testFloatsAndReals()
throws java.lang.Exception
java.lang.Exception@Test
public void testPrecisionAndScale()
throws java.lang.Exception
java.lang.Exceptionprivate void testPrecisionForType(java.lang.String typeName,
int m,
int d,
boolean unsigned)
throws java.lang.Exception
java.lang.Exception@Test
public void testIntShouldReturnLong()
throws java.lang.Exception
java.lang.Exception@Test
public void testBug5729()
throws java.lang.Exception
java.lang.Exception@Deprecated
@Test
public void testBug8484()
throws java.lang.Exception
java.lang.Exception@Test
public void testBug105915()
throws java.lang.Exception
java.lang.Exception