Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32680 Details for
Bug 51704
MySQL cache backend for portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init-portage-db.sql
init-portage-db.sql (text/plain), 831 bytes, created by
Ahmed Farid
on 2004-06-04 22:32:22 UTC
(
hide
)
Description:
init-portage-db.sql
Filename:
MIME Type:
Creator:
Ahmed Farid
Created:
2004-06-04 22:32:22 UTC
Size:
831 bytes
patch
obsolete
>CREATE DATABASE `portage`; >USE mysql; >REPLACE INTO user (Host,User,Password) VALUES ('localhost','portage',''); >FLUSH PRIVILEGES; >GRANT SELECT,UPDATE,DELETE,INSERT,CREATE,LOCK TABLES ON portage.* TO portage@localhost; >FLUSH PRIVILEGES; >USE portage; >CREATE TABLE `path_table` ( > p_id int PRIMARY KEY AUTO_INCREMENT, > name char(255) NOT NULL UNIQUE >); >CREATE TABLE `category_table` ( > c_id int(7) PRIMARY KEY AUTO_INCREMENT, > name char(255) NOT NULL UNIQUE >) ; >CREATE TABLE `package_name` ( > > name char(255) NOT NULL, > cat_id int NOT NULL, > path_id int NOT NULL, > data TEXT, > FOREIGN KEY (cat_id) REFERENCES category_table (c_id) ON DELETE CASCADE, > FOREIGN KEY (path_id) REFERENCES path_table (p_id) ON DELETE CASCADE, > #INDEX p_index (name,cat_id,path_id), > primary key (name, cat_id, path_id) >) MAX_ROWS=99999999;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 51704
:
31813
|
31814
|
31815
|
32679
| 32680 |
37914
|
37916