Searching 24793 files for "grant_option" /home/ushastry/bzr/mysql/server/mysql-trunk/internal/mysql-test/suite/nist/include/nist-public-grant.inc: 11 # 2. $grant_table must contain the table to be granted 12 # Example: let $grant_table= HU.ECCO; 13: # 3. $grant_option must contain the additional trailing grant option 14: # Example: let $grant_option= WITH GRANT OPTION; or 15: # let $grant_option= ; 16 # 17 # Function: .. 32 --enable_query_log 33 34: eval $stmt_part1 HU@localhost $grant_option; 35: eval $stmt_part1 CUGINI@localhost $grant_option; 36: eval $stmt_part1 SULLIVAN1@localhost $grant_option; 37: eval $stmt_part1 SULLIVAN@localhost $grant_option; 38: eval $stmt_part1 FLATER@localhost $grant_option; 39: eval $stmt_part1 CWPL18@localhost $grant_option; 40: eval $stmt_part1 SUN@localhost $grant_option; 41: eval $stmt_part1 CTS1@localhost $grant_option; 42: eval $stmt_part1 CTS2@localhost $grant_option; 43: eval $stmt_part1 CTS3@localhost $grant_option; 44: eval $stmt_part1 CTS4@localhost $grant_option; 45: eval $stmt_part1 XOPEN1@localhost $grant_option; 46: eval $stmt_part1 XOPEN2@localhost $grant_option; 47: eval $stmt_part1 XOPEN3@localhost $grant_option; 48: eval $stmt_part1 SCHANZLE@localhost $grant_option; 49 50 /home/ushastry/bzr/mysql/server/mysql-trunk/internal/mysql-test/suite/nist/t/schema/cts5sch2.mysql: 489 let $grant_right= ALL PRIVILEGES; 490 let $grant_table= CONCATBUF; 491: let $grant_option= ; 492 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 493 # <-------------------------- Please stop the cut here ... 498 let $grant_right= SELECT; 499 let $grant_table= CTS1.ECCO; 500: let $grant_option= ; 501 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 502 # <-------------------------- Please stop the cut here ... 506 let $grant_right= INSERT; 507 let $grant_table= TESTREPORT; 508: let $grant_option= WITH GRANT OPTION; 509 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 510 # <-------------------------- Please stop the cut here /home/ushastry/bzr/mysql/server/mysql-trunk/internal/mysql-test/suite/nist/t/schema/schema1.mysql: 459 let $grant_right= SELECT; 460 let $grant_table= HU.ECCO; 461: let $grant_option= ; 462 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 463 # <-------------------------- Please stop the cut here ... 467 let $grant_right= INSERT; 468 let $grant_table= TESTREPORT; 469: let $grant_option= WITH GRANT OPTION; 470 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 471 # <-------------------------- Please stop the cut here ... 479 let $grant_right= ALL PRIVILEGES; 480 let $grant_table= STAFF; 481: let $grant_option= ; 482 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 483 # <-------------------------- Please stop the cut here ... 488 let $grant_right= SELECT; 489 let $grant_table= WORKS; 490: let $grant_option= ; 491 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 492 # <-------------------------- Please stop the cut here ... 497 let $grant_right= SELECT; 498 let $grant_table= PROJ; 499: let $grant_option= ; 500 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 501 # <-------------------------- Please stop the cut here ... 535 let $grant_right= ALL PRIVILEGES; 536 let $grant_table= TOKENS; 537: let $grant_option= ; 538 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 539 # <-------------------------- Please stop the cut here /home/ushastry/bzr/mysql/server/mysql-trunk/internal/mysql-test/suite/nist/t/schema/schema2.mysql: 97 let $grant_right= SELECT; 98 let $grant_table= EE; 99: let $grant_option= ; 100 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 101 # <-------------------------- Please stop the cut here ... 105 let $grant_right= INSERT; 106 let $grant_table= FF; 107: let $grant_option= ; 108 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 109 # <-------------------------- Please stop the cut here ... 112 let $grant_right= UPDATE; 113 let $grant_table= GG; 114: let $grant_option= ; 115 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 116 # <-------------------------- Please stop the cut here ... 119 let $grant_right= DELETE; 120 let $grant_table= HH; 121: let $grant_option= ; 122 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 123 # <-------------------------- Please stop the cut here ... 128 let $grant_right= ALL PRIVILEGES; 129 let $grant_table= JJ; 130: let $grant_option= ; 131 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 132 # <-------------------------- Please stop the cut here /home/ushastry/bzr/mysql/server/mysql-trunk/internal/mysql-test/suite/nist/t/schema/schema6.mysql: 61 let $grant_right= SELECT; 62 let $grant_table= LEN_GALLAGHER.TRAVEL; 63: let $grant_option= ; 64 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 65 # <-------------------------- Please stop the cut here /home/ushastry/bzr/mysql/server/mysql-trunk/internal/mysql-test/suite/nist/t/schema/schema8.mysql: 648 let $grant_right= SELECT; 649 let $grant_table= SUN.ECCO; 650: let $grant_option= ; 651 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 652 # <-------------------------- Please stop the cut here ... 657 let $grant_right= INSERT; 658 let $grant_table= TESTREPORT; 659: let $grant_option= ; 660 --source ../internal/mysql-test/suite/nist/include/nist-public-grant.inc 661 # <-------------------------- Please stop the cut here /home/ushastry/bzr/mysql/server/mysql-trunk/sql/mysqld.cc: 321 322 /** 323: @brief 'grant_option' is used to indicate if privileges needs 324 to be checked, in which case the lock, LOCK_grant, is used 325 to protect access to the grant table. ... 327 @see grant_init() 328 */ 329: bool volatile grant_option; 330 331 my_bool opt_skip_slave_start = 0; ///< If set, slave is not autostarted ... 6630 opt_using_transactions= 0; 6631 abort_loop= false; 6632: grant_option= 0; 6633 aborted_threads= 0; 6634 delayed_insert_threads= delayed_insert_writes= delayed_rows_in_use= 0; /home/ushastry/bzr/mysql/server/mysql-trunk/sql/sql_yacc.yy: 1307 opt_place 1308 opt_attribute opt_attribute_list attribute column_list column_list_id 1309: opt_column_list grant_privileges grant_ident grant_list grant_option 1310 object_privilege object_privilege_list user_list rename_list 1311 clear_privileges flush_options flush_option .... 13779 grant_command: 13780 grant_privileges ON opt_table grant_ident TO_SYM grant_list 13781: require_clause grant_options 13782 { 13783 LEX *lex= Lex; ..... 13785 } 13786 | grant_privileges ON FUNCTION_SYM grant_ident TO_SYM grant_list 13787: require_clause grant_options 13788 { 13789 LEX *lex= Lex; ..... 13796 } 13797 | grant_privileges ON PROCEDURE_SYM grant_ident TO_SYM grant_list 13798: require_clause grant_options 13799 { 13800 LEX *lex= Lex; ..... 13806 lex->type= TYPE_ENUM_PROCEDURE; 13807 } 13808: | PROXY_SYM ON user TO_SYM grant_list opt_grant_option 13809 { 13810 LEX *lex= Lex; ..... 14146 ; 14147 14148: grant_options: 14149 /* empty */ {} 14150: | WITH grant_option_list 14151 ; 14152 14153: opt_grant_option: 14154 /* empty */ {} 14155 | WITH GRANT OPTION { Lex->grant |= GRANT_ACL;} 14156 ; 14157 14158: grant_option_list: 14159: grant_option_list grant_option {} 14160: | grant_option {} 14161 ; 14162 14163: grant_option: 14164 GRANT OPTION { Lex->grant |= GRANT_ACL;} 14165 | MAX_QUERIES_PER_HOUR ulong_num 51 matches across 8 files