|
Perl + Firebird 1.5
|
|||
---|---|---|---|
#18+
Вот, не могу понять почему вылазит ошибка: dbih_setup_fbav: invalid number of fields: 0, NUM_OF_FIELDS attribute probably not set right at ./fb.exmaple line 25. Подскажите, плз. ========================= #!/usr/bin/perl use DBI; # $host = "192.168.0.1"; $dbname = "TEST"; $user = "SYSDBA"; $passwd = "masterkey"; # $dsn =<< "DSN"; dbi:InterBase:dbname=$dbname; host=$host; port=3050; ib_dialect=$dialect; ib_role=$role; ib_charset=$charset; ib_cache=$cache DSN $base = DBI->connect($dsn, $user, $passwd); # $query=$base->prepare("SELECT * FROM COUNTRY"); $query->execute; while ( @row = $query->fetchrow_array) { print "@row\n"; } ... |
|||
:
Нравится:
Не нравится:
|
|||
29.04.2004, 22:21 |
|
|
start [/forum/topic.php?fid=23&msg=32503553&tid=1479788]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
39ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
37ms |
get tp. blocked users: |
2ms |
others: | 268ms |
total: | 393ms |
0 / 0 |