search for: llvm_id

Displaying 2 results from an estimated 2 matches for "llvm_id".

2016 Jun 30
0
Sequential ID Git hook
...get a response, since the lock will be further down, after the > web server. > > Therefore, the lock for the unique increment ID has to be elsewhere. > The easiest thing I can think of is a SQL database with auto-increment > ID. Example: > > Initially: > sql> create table LLVM_ID ( id int not null primary key > auto_increment, repository varchar not null, hash varchar nut null ); > sql> alter table LLVM_ID auto_increment = 300000; > > On every request: > sql> insert into LLVM_ID values ("$repo_name", "$hash"); > sql> select_las...
2016 Jun 30
6
Sequential ID Git hook
...ing multiple pushes won't fail to get a response, since the lock will be further down, after the web server. Therefore, the lock for the unique increment ID has to be elsewhere. The easiest thing I can think of is a SQL database with auto-increment ID. Example: Initially: sql> create table LLVM_ID ( id int not null primary key auto_increment, repository varchar not null, hash varchar nut null ); sql> alter table LLVM_ID auto_increment = 300000; On every request: sql> insert into LLVM_ID values ("$repo_name", "$hash"); sql> select_last_inset_id(); -> return a...