File: README.cos

package info (click to toggle)
pmacct 1.7.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,548 kB
  • sloc: ansic: 106,538; sh: 4,876; cpp: 4,340; python: 3,631; makefile: 502
file content (13 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
This document doesn't replace documentation relevant to the database software you are
using, ie. README.mysql, README.pgsql or README.sqlite3.

The 'cos' field.
Such field is being introduced to support 802.1p priority bits. The guidelines below
(typically in MySQL format) are to add such primitives to the SQL schema:

* cos field:
  - "cos INT(1) UNSIGNED NOT NULL," to declare the field itself
  - "PRIMARY KEY (..., cos, ...)" to put it in the primary key 

The primitive is not declared as part of any default table version; yet will not fail
version checks which are enabled when 'sql_optimize_clauses' feature is disabled.