Skip to content

Commit 9713e5e

Browse files
committed
Merge branch '50-stable' into 51-stable
2 parents c228495 + 23b7aeb commit 9713e5e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ bundler_args: --without development
1111
script: bundle exec rake ${TEST_PREFIX}test_$DB
1212
before_install:
1313
- unset _JAVA_OPTIONS
14+
- rvm @default,@global do gem uninstall bundler -a -x -I || true
15+
- gem install bundler -v "~>1.17.3"
1416
before_script:
1517
- echo "JAVA_OPTS=$JAVA_OPTS"
1618
- export JRUBY_OPTS="-J-Xms64M -J-Xmx1024M"

src/java/arjdbc/jdbc/RubyJdbcConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2904,7 +2904,7 @@ protected String resolveArrayBaseTypeName(final ThreadContext context, final IRu
29042904
final RubySymbol type = (RubySymbol) attributeSQLType(context, attribute);
29052905

29062906
// For some reason the driver doesn't like "character varying" as a type
2907-
if ( type.eql(context.runtime.newSymbol("string")) ) return "text";
2907+
if ( type.eql(context.runtime.newSymbol("string")) ) return "varchar";
29082908

29092909
final RubyHash nativeTypes = (RubyHash) getAdapter().callMethod(context, "native_database_types");
29102910
// e.g. `integer: { name: 'integer' }`

0 commit comments

Comments
 (0)