This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE `sequencedb`; | |
CREATE TABLE `sequencedb`.`sequences` ( | |
`sequence_name` varchar(100) NOT NULL, | |
`sequence_increment` int(11) unsigned NOT NULL DEFAULT 1, | |
`sequence_current_value` bigint(20) unsigned DEFAULT 1, | |
PRIMARY KEY (`sequence_name`) | |
) ENGINE=innodb; | |
DELIMITER $$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct server *get_server_ph(struct proxy *px, const char *uri, int uri_len) | |
{ | |
unsigned long hash = 0; | |
const char *p; | |
const char *params; | |
int plen; | |
char *param_decode; | |
/* when tot_weight is 0 then so is srv_count */ | |
if (px->lbprm.tot_weight == 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setting up irq affinity according to /proc/interrupts | |
# 2008-11-25 Robert Olsson | |
# 2009-02-19 updated by Jesse Brandeburg | |
# | |
# > Dave Miller: | |
# (To get consistent naming in /proc/interrups) | |
# I would suggest that people use something like: | |
# char buf[IFNAMSIZ+6]; | |
# | |
# sprintf(buf, "%s-%s-%d", |