Details

      Description

      some bug about document,for more information,please see PHP_CUBRID.docx

        Activity

        Hide
        cn15800 谢韦华[Bert] added a comment - - edited

        I have modified these bugs of doc, but we need to wait for a certain time to confirm whether the problem is fixed.

        Because php would not update doc everyday.

        Show
        cn15800 谢韦华[Bert] added a comment - - edited I have modified these bugs of doc, but we need to wait for a certain time to confirm whether the problem is fixed. Because php would not update doc everyday.
        Hide
        ryin005 Ray Yin added a comment - - edited

        1) cubrid_bind http://www.php.net/manual/en/function.cubrid-bind.php

        • in Example #2 and #3, the create table sql is not specified:
          CREATE TABLE php_cubrid_lob_test(doc_id integer AUTO_INCREMENT(1,1), doc_content clob, image blob);
        • Typo: "the system internally use"
          Correct: "the system internally uses"

        2) cubrid_commit http://www.php.net/manual/en/function.cubrid-commit.php

        • Typo: You can set it by using cubrid_set_autocommit()(). You can get its status by using cubrid_get_autocommit()()
          Correct: You can set it by using cubrid_set_autocommit(). You can get its status by using cubrid_get_autocommit()

        3) cubrid_lob2_write http://www.php.net/manual/en/function.cubrid-lob2-write.php

        • Code should create the table:
          cubrid_execute($conn,"DROP TABLE if exists test_lob");
          cubrid_execute($conn,"CREATE TABLE test_lob (id INT, contents CLOB)");
          PS: should insert some data into test_lob in example #2

        4) cubrid_close http://www.php.net/manual/en/function.cubrid-close.php

        • Typo: If there exists any request handles not closed yet at this point
          Correct: If there is any request handle not closed yet at this point
        • The example should also create the person table.

        5) cubrid_db_name http://www.php.net/manual/en/function.cubrid-db-name.php

        • Where is the output of the example ?

        6) cubrid_errno http://www.php.net/manual/en/function.cubrid-errno.php , cubrid_error http://www.php.net/manual/en/function.cubrid-error.php

        • Create a person table in the example codes
        • Output of the example?

        Reopen the issue

        Show
        ryin005 Ray Yin added a comment - - edited 1) cubrid_bind http://www.php.net/manual/en/function.cubrid-bind.php in Example #2 and #3, the create table sql is not specified: CREATE TABLE php_cubrid_lob_test(doc_id integer AUTO_INCREMENT(1,1), doc_content clob, image blob); Typo: "the system internally use " Correct: "the system internally uses " 2) cubrid_commit http://www.php.net/manual/en/function.cubrid-commit.php Typo: You can set it by using cubrid_set_autocommit()() . You can get its status by using cubrid_get_autocommit()() Correct: You can set it by using cubrid_set_autocommit() . You can get its status by using cubrid_get_autocommit() 3) cubrid_lob2_write http://www.php.net/manual/en/function.cubrid-lob2-write.php Code should create the table: cubrid_execute($conn,"DROP TABLE if exists test_lob"); cubrid_execute($conn,"CREATE TABLE test_lob (id INT, contents CLOB)"); PS: should insert some data into test_lob in example #2 4) cubrid_close http://www.php.net/manual/en/function.cubrid-close.php Typo: If there exists any request handles not closed yet at this point Correct: If there is any request handle not closed yet at this point The example should also create the person table. 5) cubrid_db_name http://www.php.net/manual/en/function.cubrid-db-name.php Where is the output of the example ? 6) cubrid_errno http://www.php.net/manual/en/function.cubrid-errno.php , cubrid_error http://www.php.net/manual/en/function.cubrid-error.php Create a person table in the example codes Output of the example? Reopen the issue
        Hide
        cn15800 谢韦华[Bert] added a comment -

        6) cubrid_errno http://www.php.net/manual/en/function.cubrid-errno.php , cubrid_error http://www.php.net/manual/en/function.cubrid-error.php
        Create a person table in the example codes
        Output of the example?

        We would not create table person first, because we want to test cubrid_errno and cubrid_error.

        Show
        cn15800 谢韦华[Bert] added a comment - 6) cubrid_errno http://www.php.net/manual/en/function.cubrid-errno.php , cubrid_error http://www.php.net/manual/en/function.cubrid-error.php Create a person table in the example codes Output of the example? We would not create table person first, because we want to test cubrid_errno and cubrid_error.
        Hide
        cn15800 谢韦华[Bert] added a comment -

        fixed

        Show
        cn15800 谢韦华[Bert] added a comment - fixed
        Hide
        ryin005 Ray Yin added a comment -

        cubrid_bind http://www.php.net/manual/en/function.cubrid-bind.php is still not updated

        in Example #2 and #3, the create table sql is not specified:
        CREATE TABLE php_cubrid_lob_test(doc_id integer AUTO_INCREMENT(1,1), doc_content clob, image blob);
        Typo: "the system internally use"
        Correct: "the system internally uses"

        Reopen the issue

        Show
        ryin005 Ray Yin added a comment - cubrid_bind http://www.php.net/manual/en/function.cubrid-bind.php is still not updated in Example #2 and #3, the create table sql is not specified: CREATE TABLE php_cubrid_lob_test(doc_id integer AUTO_INCREMENT(1,1), doc_content clob, image blob); Typo: "the system internally use" Correct: "the system internally uses" Reopen the issue
        Hide
        cn15800 谢韦华[Bert] added a comment -

        You need to wait next week to confirm the issue.

        Show
        cn15800 谢韦华[Bert] added a comment - You need to wait next week to confirm the issue.
        Hide
        ryin005 Ray Yin added a comment -

        The manual has been updated correctly.

        Close the issue.

        Show
        ryin005 Ray Yin added a comment - The manual has been updated correctly. Close the issue.

          People

          • Assignee:
            cn15800 谢韦华[Bert]
            Reporter:
            cn15800 谢韦华[Bert]
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: