view DBD/t/01base.t @ 28:e3e0159771c7

Test HUGEINT and DECIMAL(38,_)
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Thu, 17 Dec 2020 09:24:37 +0100 (2020-12-17)
parents 8c8bd15f7a0b
children
line wrap: on
line source
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0.  If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V.

use Test::More tests => 5;

require DBI;
pass 'DBI required';

import DBI;
pass 'DBI imported';

$switch = DBI->internal;
is ref $switch,'DBI::dr','switch';

$drh = DBI->install_driver('monetdb');
is ref $drh,'DBI::dr','drh';

ok $drh->{Version},'Version: ' . $drh->{Version};