Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.52
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
perl /
vendor /
lib /
DBIx /
Class /
Storage /
DBI /
Delete
Unzip
Name
Size
Permission
Date
Action
ADO
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
Firebird
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
ODBC
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
Oracle
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
Replicated
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
SQLAnywhere
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
Sybase
[ DIR ]
drwxrwxrwx
2024-07-26 17:40
ACCESS.pm
3.55
KB
-rw-rw-rw-
2019-11-06 10:31
ADO.pm
2.34
KB
-rw-rw-rw-
2020-03-29 22:33
AutoCast.pm
2.22
KB
-rw-rw-rw-
2018-04-30 13:43
Cursor.pm
6.22
KB
-rw-rw-rw-
2020-03-29 22:33
DB2.pm
2.1
KB
-rw-rw-rw-
2019-11-06 10:31
Firebird.pm
1007
B
-rw-rw-rw-
2018-04-30 13:43
IdentityInsert.pm
1.6
KB
-rw-rw-rw-
2020-03-29 22:33
Informix.pm
4.25
KB
-rw-rw-rw-
2018-04-30 13:43
InterBase.pm
4.08
KB
-rw-rw-rw-
2020-03-29 22:33
MSSQL.pm
10
KB
-rw-rw-rw-
2020-03-29 22:33
NoBindVars.pm
3.21
KB
-rw-rw-rw-
2020-03-29 22:33
ODBC.pm
1.89
KB
-rw-rw-rw-
2018-04-30 13:43
Oracle.pm
1.39
KB
-rw-rw-rw-
2019-11-06 10:31
Pg.pm
8.1
KB
-rw-rw-rw-
2020-03-29 22:33
Replicated.pm
26.05
KB
-rw-rw-rw-
2020-03-29 22:33
SQLAnywhere.pm
5.43
KB
-rw-rw-rw-
2020-03-29 22:33
SQLite.pm
12.09
KB
-rw-rw-rw-
2020-03-29 22:33
Sybase.pm
3.13
KB
-rw-rw-rw-
2020-06-13 20:54
UniqueIdentifier.pm
2.97
KB
-rw-rw-rw-
2018-04-30 13:43
mysql.pm
6.28
KB
-rw-rw-rw-
2020-03-29 22:33
Save
Rename
package DBIx::Class::Storage::DBI::Informix; use strict; use warnings; use base qw/DBIx::Class::Storage::DBI/; use mro 'c3'; use Scope::Guard (); use Context::Preserve 'preserve_context'; use namespace::clean; __PACKAGE__->sql_limit_dialect ('SkipFirst'); __PACKAGE__->sql_quote_char ('"'); __PACKAGE__->datetime_parser_type ( 'DBIx::Class::Storage::DBI::Informix::DateTime::Format' ); __PACKAGE__->mk_group_accessors('simple' => '__last_insert_id'); =head1 NAME DBIx::Class::Storage::DBI::Informix - Base Storage Class for Informix Support =head1 DESCRIPTION This class implements storage-specific support for the Informix RDBMS =head1 METHODS =cut sub _execute { my $self = shift; my ($rv, $sth, @rest) = $self->next::method(@_); $self->__last_insert_id($sth->{ix_sqlerrd}[1]) if $self->_perform_autoinc_retrieval; return (wantarray ? ($rv, $sth, @rest) : $rv); } sub last_insert_id { shift->__last_insert_id; } sub _exec_svp_begin { my ($self, $name) = @_; $self->_dbh->do("SAVEPOINT $name"); } # can't release savepoints sub _exec_svp_release { 1 } sub _exec_svp_rollback { my ($self, $name) = @_; $self->_dbh->do("ROLLBACK TO SAVEPOINT $name") } sub with_deferred_fk_checks { my ($self, $sub) = @_; my $txn_scope_guard = $self->txn_scope_guard; $self->_do_query('SET CONSTRAINTS ALL DEFERRED'); my $sg = Scope::Guard->new(sub { $self->_do_query('SET CONSTRAINTS ALL IMMEDIATE'); }); return preserve_context { $sub->() } after => sub { $txn_scope_guard->commit }; } =head2 connect_call_datetime_setup Used as: on_connect_call => 'datetime_setup' In L<connect_info|DBIx::Class::Storage::DBI/connect_info> to set the C<DATE> and C<DATETIME> formats. Sets the following environment variables: GL_DATE="%m/%d/%Y" GL_DATETIME="%Y-%m-%d %H:%M:%S%F5" The C<DBDATE> and C<DBCENTURY> environment variables are cleared. B<NOTE:> setting the C<GL_DATE> environment variable seems to have no effect after the process has started, so the default format is used. The C<GL_DATETIME> setting does take effect however. The C<DATETIME> data type supports up to 5 digits after the decimal point for second precision, depending on how you have declared your column. The full possible precision is used. The column declaration for a C<DATETIME> with maximum precision is: column_name DATETIME YEAR TO FRACTION(5) The C<DATE> data type stores the date portion only, and it B<MUST> be declared with: data_type => 'date' in your Result class. You will need the L<DateTime::Format::Strptime> module for inflation to work. =cut sub connect_call_datetime_setup { my $self = shift; delete @ENV{qw/DBDATE DBCENTURY/}; $ENV{GL_DATE} = "%m/%d/%Y"; $ENV{GL_DATETIME} = "%Y-%m-%d %H:%M:%S%F5"; } package # hide from PAUSE DBIx::Class::Storage::DBI::Informix::DateTime::Format; my $timestamp_format = '%Y-%m-%d %H:%M:%S.%5N'; # %F %T my $date_format = '%m/%d/%Y'; my ($timestamp_parser, $date_parser); sub parse_datetime { shift; require DateTime::Format::Strptime; $timestamp_parser ||= DateTime::Format::Strptime->new( pattern => $timestamp_format, on_error => 'croak', ); return $timestamp_parser->parse_datetime(shift); } sub format_datetime { shift; require DateTime::Format::Strptime; $timestamp_parser ||= DateTime::Format::Strptime->new( pattern => $timestamp_format, on_error => 'croak', ); return $timestamp_parser->format_datetime(shift); } sub parse_date { shift; require DateTime::Format::Strptime; $date_parser ||= DateTime::Format::Strptime->new( pattern => $date_format, on_error => 'croak', ); return $date_parser->parse_datetime(shift); } sub format_date { shift; require DateTime::Format::Strptime; $date_parser ||= DateTime::Format::Strptime->new( pattern => $date_format, on_error => 'croak', ); return $date_parser->format_datetime(shift); } =head1 FURTHER QUESTIONS? Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. =head1 COPYRIGHT AND LICENSE This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can redistribute it and/or modify it under the same terms as the L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>. =cut 1;