mysql 2.6 → 2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.html +228 -12
- data/README_ja.html +273 -14
- data/mysql.c.in +783 -8
- data/mysql.gemspec +34 -11
- data/test.rb +1022 -22
- data/tommy.css +6 -0
- metadata +13 -11
data/README.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<!-- $Id: README.html,v 1.
|
2
|
+
<!-- $Id: README.html,v 1.16 2005/08/21 15:20:45 tommy Exp $ -->
|
3
3
|
<html>
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="content-style-type" content="text/css">
|
@@ -17,20 +17,13 @@
|
|
17
17
|
It provides the same functions for Ruby programs that the MySQL C API provides for C programs.
|
18
18
|
</p>
|
19
19
|
|
20
|
-
<!--
|
21
20
|
<h2>Download</h2>
|
22
|
-
<
|
23
|
-
<li><a href="mysql-ruby-2.6.tar.gz">mysql-ruby-2.6.tar.gz</a>
|
24
|
-
<li><a href="mysql-ruby-2.5.2.tar.gz">mysql-ruby-2.5.2.tar.gz</a>
|
25
|
-
<li><a href="mysql-ruby-2.5.1.tar.gz">mysql-ruby-2.5.1.tar.gz</a>
|
26
|
-
<li><a href="mysql-ruby-2.5.tar.gz">mysql-ruby-2.5.tar.gz</a>
|
27
|
-
</ul>
|
28
|
-
-->
|
21
|
+
<a href="http://tmtm.org/downloads/mysql/ruby/">tmtm.org</a>
|
29
22
|
|
30
23
|
<h2>Requirement</h2>
|
31
24
|
<ul>
|
32
|
-
<li>MySQL 4.1.
|
33
|
-
<li>Ruby 1.8.2
|
25
|
+
<li>MySQL 4.0.22/4.1.13/5.0.11
|
26
|
+
<li>Ruby 1.8.2
|
34
27
|
</ul>
|
35
28
|
<p>
|
36
29
|
The module may work for other versions, but that has not been verified.
|
@@ -373,6 +366,11 @@
|
|
373
366
|
check server.
|
374
367
|
</p>
|
375
368
|
|
369
|
+
<dt>prepare(q)
|
370
|
+
<dd>
|
371
|
+
<p>
|
372
|
+
</p>
|
373
|
+
|
376
374
|
<dt>query(q)
|
377
375
|
<dt>real_query(q)
|
378
376
|
<dd>
|
@@ -439,6 +437,12 @@
|
|
439
437
|
return server status.
|
440
438
|
</p>
|
441
439
|
|
440
|
+
<dt>stmt_init()
|
441
|
+
<dd>
|
442
|
+
<p>
|
443
|
+
return Mysql::Stmt class object.
|
444
|
+
</p>
|
445
|
+
|
442
446
|
<dt>store_result()
|
443
447
|
<dd>
|
444
448
|
<p>
|
@@ -638,6 +642,163 @@
|
|
638
642
|
</p>
|
639
643
|
</dl>
|
640
644
|
|
645
|
+
<h2>Mysql::Stmt class</h2>
|
646
|
+
<p>
|
647
|
+
Example:
|
648
|
+
</p>
|
649
|
+
<pre class="code">
|
650
|
+
my = Mysql.new(hostname, username, password, databasename)
|
651
|
+
st = my.prepare("insert into tblname (col1,col2,col3) values (?,?,?)")
|
652
|
+
st.execute("abc",123,Time.now)
|
653
|
+
st.prepare("select col1,col2,col3 from tblname")
|
654
|
+
st.execute
|
655
|
+
st.fetch # => ["abc", 123, #<Mysql::Time:2005-07-24 23:52:55>]
|
656
|
+
st.close
|
657
|
+
</pre>
|
658
|
+
|
659
|
+
<h3>OBJECT METHODS</h3>
|
660
|
+
<dl>
|
661
|
+
<dt>affected_rows()
|
662
|
+
<dd>
|
663
|
+
<p>
|
664
|
+
</p>
|
665
|
+
|
666
|
+
<dt>bind_result(class, ...)
|
667
|
+
<dd>
|
668
|
+
<p>
|
669
|
+
</p>
|
670
|
+
|
671
|
+
<dt>close()
|
672
|
+
<dd>
|
673
|
+
<p>
|
674
|
+
</p>
|
675
|
+
|
676
|
+
<dt>data_seek(offset)
|
677
|
+
<dd>
|
678
|
+
<p>
|
679
|
+
</p>
|
680
|
+
|
681
|
+
<dt>execute(arg, ...)
|
682
|
+
<dd>
|
683
|
+
<p>
|
684
|
+
</p>
|
685
|
+
|
686
|
+
<dt>fetch()
|
687
|
+
<dd>
|
688
|
+
<p>
|
689
|
+
</p>
|
690
|
+
<p>
|
691
|
+
Type mapping:
|
692
|
+
</p>
|
693
|
+
<table>
|
694
|
+
<tr><th>MySQL type<th>Ruby class
|
695
|
+
<tr><td>TINYINT, SMALLINT, MEDIUMINT, YEAR<td>Fixnum
|
696
|
+
<tr><td>INT, BIGINT<td>Fixnum or Bignum
|
697
|
+
<tr><td>FLOAT, DOUBLE<td>Float
|
698
|
+
<tr><td>DECIMAL<td>String
|
699
|
+
<tr><td>DATE, DATETIME, TIMESTAMP, TIME<td>Mysql::Time
|
700
|
+
<tr><td>CHAR, VARCHAR, BINARY, VARBINARY, TINYBLOB, TINYTEXT, TINYBLOB, TINYTEXT, MEDIUMBLOB, MEDIUMTEXT, LONGBLOB, LONGTEXT, ENUM, SET<td>String
|
701
|
+
<tr><td>NULL<td>NilClass
|
702
|
+
</table>
|
703
|
+
|
704
|
+
<dt>field_count()
|
705
|
+
<dd>
|
706
|
+
<p>
|
707
|
+
</p>
|
708
|
+
|
709
|
+
<dt>free_result()
|
710
|
+
<dd>
|
711
|
+
<p>
|
712
|
+
</p>
|
713
|
+
|
714
|
+
<dt>insert_id()
|
715
|
+
<dd>
|
716
|
+
<p>
|
717
|
+
</p>
|
718
|
+
|
719
|
+
<dt>num_rows()
|
720
|
+
<dd>
|
721
|
+
<p>
|
722
|
+
</p>
|
723
|
+
|
724
|
+
<dt>param_count()
|
725
|
+
<dd>
|
726
|
+
<p>
|
727
|
+
</p>
|
728
|
+
|
729
|
+
<dt>prepare(q)
|
730
|
+
<dd>
|
731
|
+
<p>
|
732
|
+
</p>
|
733
|
+
|
734
|
+
<dt>result_metadata()
|
735
|
+
<dd>
|
736
|
+
<p>
|
737
|
+
</p>
|
738
|
+
|
739
|
+
<dt>row_seek(offset)
|
740
|
+
<dd>
|
741
|
+
<p>
|
742
|
+
</p>
|
743
|
+
|
744
|
+
<dt>row_tell()
|
745
|
+
<dd>
|
746
|
+
<p>
|
747
|
+
</p>
|
748
|
+
|
749
|
+
<dt>sqlstate()
|
750
|
+
<dd>
|
751
|
+
<p>
|
752
|
+
</p>
|
753
|
+
</dl>
|
754
|
+
|
755
|
+
<h3>ITERATOR</h3>
|
756
|
+
<dl>
|
757
|
+
<dt>each() {|x| ...}
|
758
|
+
<dd>
|
759
|
+
<p>
|
760
|
+
</p>
|
761
|
+
</dl>
|
762
|
+
|
763
|
+
<h2>Mysql::Time class</h2>
|
764
|
+
<p>
|
765
|
+
</p>
|
766
|
+
|
767
|
+
<h3>CLASS METHODS</h3>
|
768
|
+
<dl>
|
769
|
+
<dt>new(year=0,month=0,day=0,hour=0,minute=0,second=0,neg=false,second_part=0)
|
770
|
+
<dd>
|
771
|
+
<p>
|
772
|
+
</p>
|
773
|
+
</dl>
|
774
|
+
|
775
|
+
<h3>OBJECT VARIABLES</h3>
|
776
|
+
<dl>
|
777
|
+
<dt>year
|
778
|
+
<dd>
|
779
|
+
|
780
|
+
<dt>month
|
781
|
+
<dd>
|
782
|
+
|
783
|
+
<dt>day
|
784
|
+
<dd>
|
785
|
+
|
786
|
+
<dt>hour
|
787
|
+
<dd>
|
788
|
+
|
789
|
+
<dt>minute
|
790
|
+
<dd>
|
791
|
+
|
792
|
+
<dt>second
|
793
|
+
<dd>
|
794
|
+
|
795
|
+
<dt>neg
|
796
|
+
<dd>
|
797
|
+
|
798
|
+
<dt>second_part
|
799
|
+
<dd>
|
800
|
+
</dl>
|
801
|
+
|
641
802
|
<h2>Mysql::Error class</h2>
|
642
803
|
|
643
804
|
<h3>OBJECT VARIABLES(read only)</h3>
|
@@ -650,6 +811,61 @@
|
|
650
811
|
|
651
812
|
<h2>History</h2>
|
652
813
|
<dl>
|
814
|
+
<dt>2005-08-22
|
815
|
+
<dd>
|
816
|
+
version 2.7
|
817
|
+
<ul>
|
818
|
+
<li>add constants for Mysql#options: Mysql::OPT_GUESS_CONNECTION, Mysql::OPT_USE_EMBEDDED_CONNECTION, Mysql::OPT_USE_REMOTE_CONNECTION, Mysql::SET_CLIENT_IP
|
819
|
+
<li>test.rb: for 4.0.x, 5.0.x
|
820
|
+
</ul>
|
821
|
+
|
822
|
+
<dt>2005-08-16
|
823
|
+
<dd>
|
824
|
+
version 2.7-beta3
|
825
|
+
<ul>
|
826
|
+
<li>add Mysql::Stmt#bind_result
|
827
|
+
</ul>
|
828
|
+
|
829
|
+
<dt>2005-08-02
|
830
|
+
<dd>
|
831
|
+
version 2.7-beta2
|
832
|
+
<ul>
|
833
|
+
<li>BUG: mysql.c.in: fetch_hash: nil value doesn't exist in hash. (Thanks Stefan Kaes)
|
834
|
+
<li>add constant Mysql::VERSION.
|
835
|
+
<li>add Mysql#prepare
|
836
|
+
</ul>
|
837
|
+
|
838
|
+
<dt>2005-07-24
|
839
|
+
<dd>
|
840
|
+
version 2.7-beta
|
841
|
+
<ul>
|
842
|
+
<li>add Mysql#stmt_init method
|
843
|
+
<li>add Mysql::Stmt, Mysql::Time, Mysql::RowOffset class
|
844
|
+
<li>add Mysql::Error#sqlstate method
|
845
|
+
<li>change offset value to Mysql::RowOffset object that is used by Mysql::Result#row_seek,row_tell
|
846
|
+
</ul>
|
847
|
+
|
848
|
+
<dt>2005-07-31
|
849
|
+
<dd>
|
850
|
+
version 2.6.3
|
851
|
+
<ul>
|
852
|
+
<li>add constant Mysql::VERSION.
|
853
|
+
</ul>
|
854
|
+
|
855
|
+
<dt>2005-07-26
|
856
|
+
<dd>
|
857
|
+
version 2.6.2
|
858
|
+
<ul>
|
859
|
+
<li>BUG: mysql.c.in: fetch_hash: nil value doesn't exist in hash. (Thanks Stefan Kaes)
|
860
|
+
</ul>
|
861
|
+
|
862
|
+
<dt>2005-06-28
|
863
|
+
<dd>
|
864
|
+
version 2.6.1
|
865
|
+
<ul>
|
866
|
+
<li>mysql.c.in: fix to compile error on MacOSX.
|
867
|
+
</ul>
|
868
|
+
|
653
869
|
<dt>2005-04-25
|
654
870
|
<dd>
|
655
871
|
version 2.6
|
@@ -788,7 +1004,7 @@
|
|
788
1004
|
<address><a href="mailto:tommy@tmtm.org">TOMITA Masahiro</a></address>
|
789
1005
|
<!-- Created: Sun Aug 29 11:52:09 JST 2004 -->
|
790
1006
|
<!-- hhmts start -->
|
791
|
-
Last modified: Mon
|
1007
|
+
Last modified: Mon Aug 22 00:20:00 JST 2005
|
792
1008
|
<!-- hhmts end -->
|
793
1009
|
</body>
|
794
1010
|
</html>
|
data/README_ja.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<!-- $Id: README_ja.html,v 1.
|
2
|
+
<!-- $Id: README_ja.html,v 1.20 2005/08/21 15:20:45 tommy Exp $ -->
|
3
3
|
<html>
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="content-style-type" content="text/css">
|
@@ -16,20 +16,13 @@
|
|
16
16
|
����� <a href="http://www.mysql.com">MySQL</a> �� Ruby API �Ǥ���MySQL �� C API �Ȥۤ�Ʊ���ε�ǽ������ޤ���
|
17
17
|
</p>
|
18
18
|
|
19
|
-
<!--
|
20
19
|
<h2>�����������</h2>
|
21
|
-
<
|
22
|
-
<li><a href="mysql-ruby-2.6.tar.gz">mysql-ruby-2.6.tar.gz</a>
|
23
|
-
<li><a href="mysql-ruby-2.5.2.tar.gz">mysql-ruby-2.5.2.tar.gz</a>
|
24
|
-
<li><a href="mysql-ruby-2.5.1.tar.gz">mysql-ruby-2.5.1.tar.gz</a>
|
25
|
-
<li><a href="mysql-ruby-2.5.tar.gz">mysql-ruby-2.5.tar.gz</a>
|
26
|
-
</ul>
|
27
|
-
-->
|
20
|
+
<a href="http://tmtm.org/downloads/mysql/ruby/">tmtm.org</a>
|
28
21
|
|
29
22
|
<h2>ɬ�פʤ��</h2>
|
30
23
|
<ul>
|
31
|
-
<li>MySQL 4.1.
|
32
|
-
<li>Ruby 1.8.2
|
24
|
+
<li>MySQL 4.0.22/4.1.13/5.0.11
|
25
|
+
<li>Ruby 1.8.2
|
33
26
|
</ul>
|
34
27
|
<p>
|
35
28
|
�����ʳ��Ǥ� make �Ǥ��뤫�⤷��ޤ�����ǧ���Ƥޤ���
|
@@ -375,6 +368,16 @@
|
|
375
368
|
�����Ф������Ƥ��뤫�ɤ���������å����ޤ���
|
376
369
|
</p>
|
377
370
|
|
371
|
+
<dt>prepare(q)
|
372
|
+
<dd>
|
373
|
+
<p>
|
374
|
+
��������Ф�����ޤ������λ����ǤϤޤ��¹Ԥ���ޤ���
|
375
|
+
Mysql::Stmt ���饹���֥������Ȥ��֤��ޤ���
|
376
|
+
</p>
|
377
|
+
<p>
|
378
|
+
Mysql#stmt_init.prepare(q) ��Ʊ���Ǥ���
|
379
|
+
</p>
|
380
|
+
|
378
381
|
<dt>query(q)
|
379
382
|
<dt>real_query(q)
|
380
383
|
<dd>
|
@@ -443,6 +446,12 @@
|
|
443
446
|
�����Фξ��֤�ʸ������֤��ޤ���
|
444
447
|
</p>
|
445
448
|
|
449
|
+
<dt>stmt_init()
|
450
|
+
<dd>
|
451
|
+
<p>
|
452
|
+
Mysql::Stmt ���饹���֥������Ȥ��֤��ޤ���
|
453
|
+
</p>
|
454
|
+
|
446
455
|
<dt>store_result()
|
447
456
|
<dd>
|
448
457
|
<p>
|
@@ -573,13 +582,13 @@
|
|
573
582
|
<dd>
|
574
583
|
<p>
|
575
584
|
���ߤιԤΰ��֤����ꤷ�ޤ���
|
576
|
-
offset ������ɽ���� row_tell()
|
585
|
+
offset ������ɽ���� row_tell() ���֤��� Mysql::RowOffset ���饹���֥������ȤǤ���
|
577
586
|
</p>
|
578
587
|
|
579
588
|
<dt>row_tell()
|
580
589
|
<dd>
|
581
590
|
<p>
|
582
|
-
|
591
|
+
���ߤιԤΰ��֤� Mysql::RowOffset ���饹���֥������Ȥ��֤��ޤ���
|
583
592
|
</p>
|
584
593
|
</dl>
|
585
594
|
|
@@ -665,6 +674,201 @@
|
|
665
674
|
</p>
|
666
675
|
</dl>
|
667
676
|
|
677
|
+
<h2>Mysql::Stmt ���饹</h2>
|
678
|
+
<p>
|
679
|
+
MySQL �ǥץ�ڥ��ɥ��ơ��ȥ��Ȥ�����Υ��饹�Ǥ���
|
680
|
+
</p>
|
681
|
+
<p>
|
682
|
+
������:
|
683
|
+
</p>
|
684
|
+
<pre class="code">
|
685
|
+
my = Mysql.new(hostname, username, password, databasename)
|
686
|
+
st = my.prepare("insert into tblname (col1,col2,col3) values (?,?,?)")
|
687
|
+
st.execute("abc",123,Time.now)
|
688
|
+
st.prepare("select col1,col2,col3 from tblname")
|
689
|
+
st.execute
|
690
|
+
st.fetch # => ["abc", 123, #<Mysql::Time:2005-07-24 23:52:55>]
|
691
|
+
st.close
|
692
|
+
</pre>
|
693
|
+
|
694
|
+
<h3>���֥������ȥ�å�</h3>
|
695
|
+
<dl>
|
696
|
+
<dt>affected_rows()
|
697
|
+
<dd>
|
698
|
+
<p>
|
699
|
+
�ƶ����줿�Կ����֤��ޤ���
|
700
|
+
</p>
|
701
|
+
|
702
|
+
<dt>bind_result(class, ...)
|
703
|
+
<dd>
|
704
|
+
<p>
|
705
|
+
��̤��֤�������ξ��ˡ����Ф�����ͤΥ��饹����ꤷ�ޤ���
|
706
|
+
����Ǥ��륯�饹�ϡ�Numeric, Integer, Fixnum, Float, Mysql::Time �Ǥ���
|
707
|
+
nil ����ꤹ��ȡ���ưȽ�̤��ޤ���
|
708
|
+
bind_result ��¹Ԥ��ʤ����ϼ�ưȽ�̤��ޤ���
|
709
|
+
</p>
|
710
|
+
|
711
|
+
<dt>close()
|
712
|
+
<dd>
|
713
|
+
<p>
|
714
|
+
Mysql::Stmt ���֥������Ȥ�������ޤ���
|
715
|
+
</p>
|
716
|
+
|
717
|
+
<dt>data_seek(offset)
|
718
|
+
<dd>
|
719
|
+
<p>
|
720
|
+
���� fetch() �Ǽ��Ф����Ԥ� offset ���ܤιԤˤ��ޤ���
|
721
|
+
offset �� 0 ����Ϥޤ�ޤ���
|
722
|
+
</p>
|
723
|
+
|
724
|
+
<dt>execute(arg, ...)
|
725
|
+
<dd>
|
726
|
+
<p>
|
727
|
+
prepare() ����������˥ѥ�����Ϳ���Ƽ¹Ԥ��ޤ���
|
728
|
+
</p>
|
729
|
+
|
730
|
+
<dt>fetch()
|
731
|
+
<dd>
|
732
|
+
<p>
|
733
|
+
execute() �Ǽ¹Ԥ���������η�̤��ͤ�����Ǽ��Ф��ޤ���
|
734
|
+
�ͤ��֤��ʤ�������ξ��䡢�Ǹ�ޤǼ��Ф������� nil ���֤��ޤ���
|
735
|
+
</p>
|
736
|
+
<p>
|
737
|
+
����γ����Ǥ� MySQL �η��˱����Ƽ��Τ褦�ˤʤ�ޤ���
|
738
|
+
</p>
|
739
|
+
<table>
|
740
|
+
<tr><th>MySQL�η�<th>Ruby�Υ��饹
|
741
|
+
<tr><td>TINYINT, SMALLINT, MEDIUMINT, YEAR<td>Fixnum
|
742
|
+
<tr><td>INT, BIGINT<td>Fixnum�ޤ���Bignum
|
743
|
+
<tr><td>FLOAT, DOUBLE<td>Float
|
744
|
+
<tr><td>DECIMAL<td>String
|
745
|
+
<tr><td>DATE, DATETIME, TIMESTAMP, TIME<td>Mysql::Time
|
746
|
+
<tr><td>CHAR, VARCHAR, BINARY, VARBINARY, TINYBLOB, TINYTEXT, TINYBLOB, TINYTEXT, MEDIUMBLOB, MEDIUMTEXT, LONGBLOB, LONGTEXT, ENUM, SET<td>String
|
747
|
+
<tr><td>NULL<td>NilClass
|
748
|
+
</table>
|
749
|
+
|
750
|
+
<dt>field_count()
|
751
|
+
<dd>
|
752
|
+
<p>
|
753
|
+
prepare ���������꤬�֤���̤Υե�����ɿ����֤��ޤ���
|
754
|
+
</p>
|
755
|
+
|
756
|
+
<dt>free_result()
|
757
|
+
<dd>
|
758
|
+
<p>
|
759
|
+
������̤�������ޤ���
|
760
|
+
</p>
|
761
|
+
|
762
|
+
<dt>insert_id()
|
763
|
+
<dd>
|
764
|
+
<p>
|
765
|
+
�������줿 AUTO_INCREMENT ���ܤ��ͤ��֤��ޤ���
|
766
|
+
</p>
|
767
|
+
|
768
|
+
<dt>num_rows()
|
769
|
+
<dd>
|
770
|
+
<p>
|
771
|
+
������̤ιԿ����֤��ޤ���
|
772
|
+
</p>
|
773
|
+
|
774
|
+
<dt>param_count()
|
775
|
+
<dd>
|
776
|
+
<p>
|
777
|
+
prepare() ����������Υѥ�����?�פο����֤��ޤ���
|
778
|
+
</p>
|
779
|
+
|
780
|
+
<dt>prepare(q)
|
781
|
+
<dd>
|
782
|
+
<p>
|
783
|
+
��������Ф�����ޤ������λ����ǤϤޤ��¹Ԥ���ޤ���
|
784
|
+
execute() �Ǽ¹Ԥ���ޤ���
|
785
|
+
</p>
|
786
|
+
|
787
|
+
<dt>result_metadata()
|
788
|
+
<dd>
|
789
|
+
<p>
|
790
|
+
prepare() ������������֤�����̤Υե�����ɤ� Mysql::Result ���饹���֥������Ȥ��֤��ޤ���
|
791
|
+
</p>
|
792
|
+
|
793
|
+
<dt>row_seek(offset)
|
794
|
+
<dd>
|
795
|
+
<p>
|
796
|
+
���� fetch() �Ǽ��Ф����Ԥ� offset �ΰ��֤ˤ��ޤ���
|
797
|
+
data_seek �Ȱۤʤ� offset �� row_tell() ���֤���� Mysql::RowOffset ���饹���֥������ȤǤ���
|
798
|
+
</p>
|
799
|
+
|
800
|
+
<dt>row_tell()
|
801
|
+
<dd>
|
802
|
+
<p>
|
803
|
+
���ߤιԤΰ��֤� Mysql::RowOffset ���饹���֥������Ȥ��֤��ޤ���
|
804
|
+
</p>
|
805
|
+
|
806
|
+
<dt>sqlstate()
|
807
|
+
<dd>
|
808
|
+
<p>
|
809
|
+
���顼�����ɤ� SQLSTATE ʸ������֤��ޤ���
|
810
|
+
</p>
|
811
|
+
</dl>
|
812
|
+
|
813
|
+
<h3>���ƥ졼��</h3>
|
814
|
+
<dl>
|
815
|
+
<dt>each() {|x| ��}
|
816
|
+
<dd>
|
817
|
+
<p>
|
818
|
+
������̤γƹԤ��Ȥ� {��} ���֤��ޤ���
|
819
|
+
x �� fetch() ���֤�����Τ�Ʊ������Ǥ���
|
820
|
+
</p>
|
821
|
+
</dl>
|
822
|
+
|
823
|
+
<h2>Mysql::Time ���饹</h2>
|
824
|
+
<p>
|
825
|
+
Mysql::Stmt �ǻȤ���������ɽ������Υ��饹�Ǥ���
|
826
|
+
</p>
|
827
|
+
|
828
|
+
<h3>���饹��å�</h3>
|
829
|
+
<dl>
|
830
|
+
<dt>new(year=0,month=0,day=0,hour=0,minute=0,second=0,neg=false,second_part=0)
|
831
|
+
<dd>
|
832
|
+
<p>
|
833
|
+
Mysql::Time���饹��������ޤ���
|
834
|
+
</p>
|
835
|
+
</dl>
|
836
|
+
|
837
|
+
<h3>���֥��������ѿ�</h3>
|
838
|
+
<dl>
|
839
|
+
<dt>year
|
840
|
+
<dd>
|
841
|
+
ǯ
|
842
|
+
|
843
|
+
<dt>month
|
844
|
+
<dd>
|
845
|
+
��
|
846
|
+
|
847
|
+
<dt>day
|
848
|
+
<dd>
|
849
|
+
��
|
850
|
+
|
851
|
+
<dt>hour
|
852
|
+
<dd>
|
853
|
+
��
|
854
|
+
|
855
|
+
<dt>minute
|
856
|
+
<dd>
|
857
|
+
ʬ
|
858
|
+
|
859
|
+
<dt>second
|
860
|
+
<dd>
|
861
|
+
��
|
862
|
+
|
863
|
+
<dt>neg
|
864
|
+
<dd>
|
865
|
+
���郎���ξ��� false, ��ξ��� true
|
866
|
+
|
867
|
+
<dt>second_part
|
868
|
+
<dd>
|
869
|
+
�äξ������ʲ���̤����
|
870
|
+
</dl>
|
871
|
+
|
668
872
|
<h2>Mysql::Error ���饹</h2>
|
669
873
|
<p>
|
670
874
|
MySQL �Υ��顼��ɽ�魯���饹�Ǥ���
|
@@ -687,6 +891,61 @@
|
|
687
891
|
|
688
892
|
<h2>����</h2>
|
689
893
|
<dl>
|
894
|
+
<dt>2005-08-22
|
895
|
+
<dd>
|
896
|
+
version 2.7
|
897
|
+
<ul>
|
898
|
+
<li>Mysql#options������ɲá�Mysql::OPT_GUESS_CONNECTION, Mysql::OPT_USE_EMBEDDED_CONNECTION, Mysql::OPT_USE_REMOTE_CONNECTION, Mysql::SET_CLIENT_IP
|
899
|
+
<li>test.rb: 4.0.x, 5.0.x �б�
|
900
|
+
</ul>
|
901
|
+
|
902
|
+
<dt>2005-08-16
|
903
|
+
<dd>
|
904
|
+
version 2.7-beta3
|
905
|
+
<ul>
|
906
|
+
<li>Mysql::Stmt#bind_result �ɲ�
|
907
|
+
</ul>
|
908
|
+
|
909
|
+
<dt>2005-08-02
|
910
|
+
<dd>
|
911
|
+
version 2.7-beta2
|
912
|
+
<ul>
|
913
|
+
<li>BUG: mysql.c.in: fetch_hash: �ͤ� nil �����Ǥ��ϥå���˴ޤޤ�ʤ���(Stefan Kaes �˴���)
|
914
|
+
<li>��� Mysql::VERSION �ɲ�
|
915
|
+
<li>Mysql#prepare �ɲ�
|
916
|
+
</ul>
|
917
|
+
|
918
|
+
<dt>2005-07-24
|
919
|
+
<dd>
|
920
|
+
version 2.7-beta
|
921
|
+
<ul>
|
922
|
+
<li>Mysql#stmt_init �ɲ�
|
923
|
+
<li>Mysql::Stmt, Mysql::Time, Mysql::RowOffset ���饹�ɲ�
|
924
|
+
<li>Mysql::Error#sqlstate �ɲ�
|
925
|
+
<li>Mysql::Result#row_seek,row_tell ������ offset �ͤ� Mysql::RowOffset ���֥������Ȥ��ѹ�
|
926
|
+
</ul>
|
927
|
+
|
928
|
+
<dt>2005-07-31
|
929
|
+
<dd>
|
930
|
+
version 2.6.3
|
931
|
+
<ul>
|
932
|
+
<li>��� Mysql::VERSION �ɲ�
|
933
|
+
</ul>
|
934
|
+
|
935
|
+
<dt>2005-07-26
|
936
|
+
<dd>
|
937
|
+
version 2.6.2
|
938
|
+
<ul>
|
939
|
+
<li>BUG: mysql.c.in: fetch_hash: �ͤ� nil �����Ǥ��ϥå���˴ޤޤ�ʤ���(Stefan Kaes �˴���)
|
940
|
+
</ul>
|
941
|
+
|
942
|
+
<dt>2005-06-28
|
943
|
+
<dd>
|
944
|
+
version 2.6.1
|
945
|
+
<ul>
|
946
|
+
<li>mysql.c.in: MacOSX �ǤΥ���ѥ��륨�顼������
|
947
|
+
</ul>
|
948
|
+
|
690
949
|
<dt>2005-04-25
|
691
950
|
<dd>
|
692
951
|
version 2.6
|
@@ -969,7 +1228,7 @@
|
|
969
1228
|
<address><a href="mailto:tommy@tmtm.org">TOMITA Masahiro</a></address>
|
970
1229
|
<!-- Created: Sun Aug 29 11:52:09 JST 2004 -->
|
971
1230
|
<!-- hhmts start -->
|
972
|
-
Last modified: Mon
|
1231
|
+
Last modified: Mon Aug 22 00:19:08 JST 2005
|
973
1232
|
<!-- hhmts end -->
|
974
1233
|
</body>
|
975
1234
|
</html>
|