-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmastering-cxx-multithreading.sql
33 lines (24 loc) · 1.39 KB
/
mastering-cxx-multithreading.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
create temp table temp_blocks(row_number serial, t_content text, t_type flashback.block_type, t_language varchar(10));
create procedure add_block(type flashback.block_type, language varchar(10), content text) language plpgsql as $$ begin insert into temp_blocks (t_type, t_language, t_content) values (type, language, content); end; $$;
call create_resource(6, 'Mastering C++ Multithreading', 'book', 1, 10, 'https://subscription.packtpub.com/book/programming/9781787121706/pref');
call add_block('text', 'txt', '');
call add_block('code', 'cxx', '');
call create_note_with_name('Mastering C++ Multithreading', 1, '');
call add_block('text', 'txt', '');
call add_block('code', 'cxx', '');
call create_note_with_name('Mastering C++ Multithreading', 1, '');
call add_block('text', 'txt', '');
call add_block('code', 'cxx', '');
call create_note_with_name('Mastering C++ Multithreading', 1, '');
call add_block('text', 'txt', '');
call add_block('code', 'cxx', '');
call create_note_with_name('Mastering C++ Multithreading', 1, '');
call add_block('text', 'txt', '');
call add_block('code', 'cxx', '');
call create_note_with_name('Mastering C++ Multithreading', 1, '');
call add_block('text', 'txt', '');
call add_block('code', 'cxx', '');
call create_note_with_name('Mastering C++ Multithreading', 1, '');
call set_section_as_complete('Mastering C++ Multithreading', 1);
drop procedure add_block;
drop table temp_blocks;